remy / nodemon

Monitor for any changes in your node.js application and automatically restart the server - perfect for development
http://nodemon.io/
MIT License
26.32k stars 1.73k forks source link

 ELIFECYCLE  Command failed with exit code 1 when vscode remote is run #2020

Closed pincman closed 2 years ago

pincman commented 2 years ago

Expected behaviour

work fine when vscode remote is run

Actual behaviour

when vscode remote ssh is run on server, nodemon on server can not work will exit 1  ELIFECYCLE  Command failed with exit code 1.

Steps to reproduce


If applicable, please append the --dump flag on your command and include the output here ensuring to remove any sensitive/personal details or tokens.

remy commented 2 years ago

Please provide fully pared down code to replicate, otherwise no one will be able to see what you're seeing - and thus won't be able to help.

pincman commented 2 years ago

@remy i fixed it by pnpm cache clean