Upon trying to install express via npm, bash was simply returning a command not found statement upon running any node module in the shell directly. I went through countless resources and forums to locate the issue and was not succesfull.
相关问题
- Axios OPTIONS instead of POST Request. Express Res
- JQ: Select when attribute value exists in a bash a
- Failed at the electron@1.8.2 postinstall script
- Webpack getting started, import error
- Express js optional parameter
相关文章
- Check if directory exists on remote machine with s
- @angular-cli install fails with deprecated request
- Reverse four length of letters with sed in unix
- Launch interactive SSH bash session from PHP
- fetch: Getting cookies from fetch response
- BASH: Basic if then and variable assignment
- Bash script that creates a directory structure
- Test if File/Dir exists over SSH/Sudo in Python/Ba
This seemed to be the solution for me. I ran the below statement and then proceeded to reinstall express as sudo:
Run both commands respectively.