Closed aprilllllllll closed 1 month ago
Please uninstall the package npm uninstall -g console-ninja
and follow the instruction from the docs.
On UNIX-based systems (e.g. MacOS, Linux) you may source the console-ninja command for a terminal session. After that point, any commands you run in that terminal session will automatically be started with console-ninja. For example:
source console-ninja node app1.js node app2.js If you manually manage your shell scripts then you may want to disable the automatic PATH appending behavior. The console-ninja.installBinToPath VS Code setting which is set to true by default allows to disable the behavior.
I did these step still have same issue
Could you please restart the terminal and try again? If it's still the same issue please share the output of which console-ninja
command, it should point to ~/.console-ninja/.bin/console-ninja
file.
Closing this issue since we haven't heard back. If you're still having a problem, please reply to this message and we will re-open the issue.
What happened?
Front end is working properly, but the back end by using node.js is not working.
Version
v1.0.329
CLI command to start your dev tool
Mac
Steps to reproduce (or sample repo)
npm install -g console-ninja source console-ninja node app.js error message: node:internal/modules/cjs/loader:1080 throw err; ^
Error: Cannot find module ''
Require stack:
Node.js v18.17.0
Log output