You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've raised this in serverless-webpack instead, as it seems they are the one who is trying to spawn a .cmd file. Feel free to close the issue if it's not the responsibility of this module.
@massimocodecli-progress-footer just decorates spawn and returns the value as it is.
In this case nativespawn crashes with EINVAL and cli-progress-footer behaves properly by exposing the crash without obstruction.
I believe the issue is in serverrless-webpack which probably tries to call npm.cmd (or other cmd program on windows) while this is no longer allowed with latest version of Node.js
Please see the following:
serverless/serverless#12434
Also this Node JS issue discussing the security change:
nodejs/node#52554
It seems like adding a flag { shell: true } will resolve this
Thanks
The text was updated successfully, but these errors were encountered: