Skip to content
Advertisement

Tag: nvm

nvm needs curl or wget to proceed

I wanna install node from nvm, but i run into problem ‘nvm needs curl or wget to proceed’ My operating system is debian9,nvm version is v0.35.2 how to fix it? here is the nvm debug result and the type curl/type wget results Answer put this into bashrc file then source ~/.bashrc

Can’t install latest angular cli on ubuntu

I’m trying to install angular via ubuntu. When I type the version commande node -v I get v12.14.1 Then I try to install npm package sudo npm install -g @angular/cli I get a warning npm WARN npm npm does not support Node.js v10.15.2 ng version I get angular-cli: 1.0.0-beta.28.3 The npm version is 6.13.4 Answer The issue here seems to

Node “No such file or directory” with certain packages

I installed two packages via npm: alsatian@1.0.0-alpha.7 gulp@3.9.1 As I am using nvm to manage my node versions, the CLI files for the two packages were installed at the following paths: /home/james/.nvm/versions/node/v6.3.1/lib/alsatian/cli/alsatian-cli.js /home/james/.nvm/versions/node/v6.3.1/lib/gulp/bin/gulp.js When I run the command gulp, the command runs correctly. However when I run the command alsatian I get the following output: I replaced both CLI files

Advertisement