Open sodic opened 1 week ago
If a user starts a wasp command and npm isn't in PATH, this is the error they get:
wasp
npm
PATH
[ Wasp ] Starting npm installwasp-bin: npm: streamingProcess: exec: invalid argument (Bad file descriptor)
We should check if npm is in PATH and give our users a meaningful message if we don't find it (like we do when we don't find node).
node
Thanks @Rotemoyal for letting us know: https://github.com/wasp-lang/wasp/issues/1980#issuecomment-2183980522
If a user starts a
wasp
command andnpm
isn't inPATH
, this is the error they get:We should check if
npm
is inPATH
and give our users a meaningful message if we don't find it (like we do when we don't findnode
).Thanks @Rotemoyal for letting us know: https://github.com/wasp-lang/wasp/issues/1980#issuecomment-2183980522