Closed pincman closed 2 years ago
nodemon -v
const runner = nodemon({ ...commonOptions, script,: 'main.js' exec: 'node', args: [], ext: 'js,json', spawn: false, verbose: true, stdout: false, }); // ...
work fine when vscode remote is run
when vscode remote ssh is run on server, nodemon on server can not work will exit 1 ELIFECYCLE Command failed with exit code 1.
ELIFECYCLE Command failed with exit code 1.
If applicable, please append the --dump flag on your command and include the output here ensuring to remove any sensitive/personal details or tokens.
--dump
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.
@remy i fixed it by pnpm cache clean
pnpm cache clean
nodemon -v
: 2.0.15Expected 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.