I had to do
sudo apt-get install npm
that worked for me.
More Related Contents:
- How to fix npm throwing error without sudo
- How can I update NodeJS and NPM to their latest versions?
- how to specify local modules as npm package dependencies
- NPM global install “cannot find module”
- How to include scripts located inside the node_modules folder?
- How can I make multiple projects share node_modules directory?
- Command to remove all npm modules globally
- nvm keeps “forgetting” node in new terminal session
- npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents
- npm install errors with Error: ENOENT, chmod
- Can’t run my Node.js Typescript project TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension “.ts” for /app/src/App.ts
- npm install won’t install devDependencies
- How to use sqlite3 module with electron?
- npm check and update package if needed
- How to add custom certificate authority (CA) to nodejs
- Laravel 5.4 ‘cross-env’ Is Not Recognized as an Internal or External Command
- How to resolve Nodejs: Error: ENOENT: no such file or directory
- Bower: “command not found” after installation
- Use a node module from casperjs
- When I run `npm install`, it returns with `ERR! code EINTEGRITY` (npm 5.3.0)
- Why use peer dependencies in npm for plugins?
- What does -save-dev mean in npm install grunt –save-dev
- npm install shows error with git not found
- How do I fix a vulnerable npm package in my package-lock.json that isn’t listed in the package.json?
- npm install not work
- Difference between `npm start` & `node app.js`, when starting app?
- NPM cannot install dependencies – Attempt to unlock something which hasn’t been locked
- nodejs “npm ERR! code SELF_SIGNED_CERT_IN_CHAIN”
- npm install that requires node-gyp fails on Windows
- npm update check failed