Skip to main content

EINVAL Spawning error when getting Quickstart-react app

  • May 4, 2024
  • 13 replies
  • 920 views

Hi fellow devs,

Trying to get my dev environment up and running on a windows machine, but running into an error with the CLI

This error has been described here and requires an addition of { shell: true } when Spawning objects. However I’m unsure if this addition needs to be made in the NPX application or in the “Quickstart-react” code.

Did anyone run into this or a similar issue?

Kr,

Daniel

13 replies

Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • May 5, 2024

Hello there @dansan1984 and welcome to the community!

I found a few links of discussions about this that might be useful for you:

github.com/nodejs/node

  • Author
  • New Participant
  • May 6, 2024

Hi,

Thanks for your reply. Unfortunately all these issues seems to get solved by the software vendor using NodeJS.

Both SAP and Node-RED have released a patch to fix this issue. Could it be that Monday needs to release a new version of the quickstart-react top fix this?


Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • May 8, 2024

Hello again,

We do not see any reports of other users having this issue, but if youfill this form (https://support.monday.com/hc/en-us/requests/new?ticket_form_id=13855862562962) adding as much information as possible to it (such as account ID, board IDs, item IDs, timestamps, etc.) we can check with our team!

Cheers,
Matias


Fabiogut
  • New Participant
  • June 13, 2024

I’m having the same problem and I can’t find a solution that solves it


Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • June 16, 2024

Hello there @Fabiogut,

Would you be able to please fill the same form (https://support.monday.com/hc/en-us/requests/new?ticket_form_id=13855862562962) so that our team can take a look into it?


Same problem - I will fill out the form.


Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • June 17, 2024

Hello there!

Thank you for filling the form! We will check this with our team 😀


  • Author
  • New Participant
  • June 17, 2024

Hi Sorry for the ate reply, I’ve filled out the form


Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • June 18, 2024

Hello everyone here!

General question. Are you using Windows? If so, are you using Node 18.x?


  • Author
  • New Participant
  • June 18, 2024

Using windows ( windows 11 ) and Node.js v20.12.2.


Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • June 24, 2024

Hello again,

Matias here!

May I ask from all of you to please send over the ID of your tickets? We are investigating this.


  • Author
  • New Participant
  • June 24, 2024

My ticket number is: 3438560


  • New Participant
  • June 27, 2024

This seems to be a general problem with a new node.js security update. There is a way a way to get around it. In my

C:\\Users[username]\\AppData\\Local\\npm-cache_npx\\d810257f6f2ee4ed\\node_modules\\node-run-cmd\\index.js

I amended line 42 to read

const spawnProcessOpts = {shell:true};

That should allow your shell to spawn another .cmd process and fix your issue.