Check your .bash_profile
, .zshrc
, or .profile
file. You most likely had a problem during the installation.
You should have the following at the end of one of those files.
[[ -s $HOME/.nvm/nvm.sh ]] && . $HOME/.nvm/nvm.sh # This loads NVM
The . $HOME/.nvm/nvm.sh
is the same as source $HOME/.nvm/nvm.sh
See: Sourcing a File
You can also check to see if you have a .nvm
folder.
ls -a | grep .nvm
If you’re missing that folder then the installation failed to run the git command. This could be due to being behind a proxy. Try running the following instead.
git clone http://github.com/creationix/nvm.git .nvm
Related Posts:
- How can the default node version be set using NVM?
- How to write a .nvmrc file which automatically change node version
- Error “Cannot find module ‘npmlog'” after “npm update -g”
- How to properly upgrade node using nvm
- nvm is not compatible with the npm config “prefix” option:
- How can I update NodeJS and NPM to the next versions?
- How do I update Node.js?
- How to solve npm error “npm ERR! code ELIFECYCLE”
- Can not find module “@angular-devkit/build-angular”
- Node.exe Stuck at 100% CPU
- After command npm start “Missing script:start” error
- sudo: npm: command not found
- How to resolve Nodejs: Error: ENOENT: no such file or directory
- Node.js getaddrinfo ENOTFOUND
- How do I debug error ECONNRESET in Node.js?
- Node.js getaddrinfo ENOTFOUND
- How do I debug error ECONNRESET in Node.js?
- Does anyone knows what “rimraf” means?
- How can I completely uninstall nodejs, npm and node in Ubuntu [closed]
- Please run `npm cache clean`
- What is the difference between npm install and npm run build?
- Missing write access in mac to /usr/local/lib/node_modules
- NPM clean modules
- ‘node’ is not recognized as an internal or an external command, operable program or batch file while using phonegap/cordova
- What does body-parser do with express?
- node.js, Error: Cannot find module ‘express’
- mongoError: Topology was destroyed
- NPM Start not starting local server
- node.js, Error: Cannot find module ‘express’
- What does the ELIFECYCLE Node.js error mean?
- “Topology was destroyed” when using MongoDB with native driver and Express.js
- Error: getaddrinfo ENOTFOUND in nodejs for get call
- How do I resolve “Cannot find module” error using Node.js?
- What is the –save option for npm install?
- env: node: No such file or directory in mac
- Error: Cannot find module ‘../lib/utils/unsupported.js’ while using Ionic
- Failed to load resource: net::ERR_CONNECTION_REFUSED : Nodejs
- Where is nodejs log file?
- npm install not working in windows
- SyntaxError: Unexpected token import – Express
- Mongoose: findOneAndUpdate doesn’t return updated document
- How to downgrade Node version
- Significance of port 3000 in Express apps
- ExpressJS – throw er Unhandled error event
- Discord.js sending a message to a specific channel
- The difference between “require(x)” and “import x”
- What Are “npm run dev” and “npm run prod”
- Find the version of an installed npm package
- First Heroku deploy failed `error code=H10`
- “npm config set registry https://registry.npmjs.org/” is not working in windows bat file
- How do I uninstall a package installed using npm link?
- Error: Cannot find module ‘ejs’
- Error: EACCES: permission denied, access ‘/usr/local/lib/node_modules’
- (node:63208) DeprecationWarning: collection.ensureIndex is deprecated. Use createIndexes instead
- ExpressJS – throw er Unhandled error event
- ENOENT, no such file or directory
- Differences between socket.io and websockets
- How is an HTTP POST request made in node.js?
- What is the difference between –save and –save-dev?
- ExpressJS : res.redirect() not working as expected?
- error: This is probably not a problem with npm. There is likely additional logging output above
- Difference between MongoDB and Mongoose
- npm update does not do anything
- Mongoose: CastError: Cast to ObjectId failed for value “[object Object]” at path “_id”
- Express.js req.body undefined
- Unable to connect to mongolab, Getting MongoError: auth failed
- Nodemon Error: System limit for number of file watchers reached
- Do I commit the package-lock.json file created by npm 5?
- npm update broke npm
- node.js error message events.js:183 throw er; // Unhandled ‘error’ event
- heroku is giving me Method not allowed
- passport.js passport.initialize() middleware not in use
- `node-pre-gyp install –fallback-to-build` failed during MeanJS installation on OSX
- What does ESOCKET error mean when I’m trying to send an email?
- db.collection is not a function when using MongoClient v3.0
- When I run `npm install`, it returns with `ERR! code EINTEGRITY` (npm 5.3.0)
- Cannot POST / error using express
- nodemon not working properly
- E: Unable to locate package npm
- npm install errors with Error: ENOENT, chmod
- npm WARN deprecated [email protected]: Use uuid module instead
- npm WARN package.json: No repository field
- Advice on loopback.js vs express js
- How to store Node.js deployment settings/configuration files?
- What exactly does “/usr/bin/env node” do at the beginning of node files?
- How do you uninstall all dependencies listed in package.json (NPM)?
- How to unpack an .asar file?
- npm start giving error in node.js
- Mongodb: failed to connect to server on first connect
- Loop through JSON in EJS
- NPM warn message about deprecated package
- Heroku “State changed from starting to down Stopping all processes with SIGTERM”
- How npm start runs a server on port 8000
- While doing npm install getting an error as “No such file or directory open”
- Webpack – webpack-dev-server: command not found
- npm install hangs
- bodyParser is deprecated express 4
- AWS s3 api error: specified bucket does not exist
- npm update to specific version (and shrinkwrap)
- MongoDB data/db not found