cancel
Showing results for 
Search instead for 
Did you mean: 

visual code studio command run failed with error : spawn einval

ronaldo_aparecido
Contributor

Hello Community. When I run a fiori elements application in VS code I am receiving the error: visual code studio command run failed with error : spawn einval. Does anyone know how I can solve this problem? Thank you

ronaldo_aparecido_0-1713181828325.png

 

hitesh_parmar
Product and Topic Expert
Product and Topic Expert
0 Kudos
Hi, could you also add the SAP Fiori tools tag to your question?
hitesh_parmar
Product and Topic Expert
Product and Topic Expert
0 Kudos
Hi, could you please provide the version of "node.js" your are using and also the status info that you see in the Application Info Page (the one opened in your screenshot). if possible could you please upload your project to github and share the link with us?

Accepted Solutions (1)

Accepted Solutions (1)

F_Coutinho
Explorer

We have downgraded Node.js to version 16.20.2 and that error message now is gone

hitesh_parmar
Product and Topic Expert
Product and Topic Expert
0 Kudos
Thanks for the details. May I know the Node.js version where you see the issue?
F_Coutinho
Explorer
I was using latest version, 20 something .. For what we have investigated there is some windows update that should correct this but as our company policy only updates when released internally release the update
K4I
Explorer
Same issue here. Using nodejs v20.12.2
ronaldo_aparecido
Contributor
0 Kudos
Thanks

Answers (5)

Answers (5)

Hello,

I am happy to announce that the fix is now released. The fix is contained in "@sap/ux-ui5-tooling" package, version 1.13.3. In order to obtain the fix, please do the following:

  1. In VSCode open the command palette
  2. Search and execute the command "Fiori: Open Application Info"
  3. After the Application Info Page is opened, click on the link for updating "@sap/ux-ui5-tooling"

Best regards,

Zdravko

LKohl
Newcomer

This issue seems to be caused by a security vulnerability fix in node.js

Hi,

you should be able to workaround the issue by replacing fiori run with ui5 serve, until a fix for the issue is provided.

Best regards,

Zdravko

alegarciamacedo
Explorer
0 Kudos

I'm facing the same issue. Commenting to follow.

I've tried update Node to v21.7.3 and the error persists.

ui5 serve command solved for now.

Hi, this issue is now fixed. Please check my answer above.
alegarciamacedo
Explorer
0 Kudos
It worked. Thanks!
F_Coutinho
Explorer
0 Kudos

Having the same issue here, commenting to follow