npm (Node Package Module) is the package manager for the Node.js JavaScript platform.

learn more… | top users | synonyms

0
votes
0answers
18 views

How to go back to node version 5 from node version 6?

When I use whereis node it returns the paths node: /usr/local/bin/node /opt/node/bin/node $ node -v v6.2.2 How should I install node v5.11.1 in Ubuntu 15.10?
1
vote
1answer
28 views

npm errors while installing

I'm using Ubuntu 16.04LTS dual-booted with Windows 10 on my ASUS X552EA laptop running on AMD processors. I've been trying to install some packages on my system with npm. The command I used was a ...
0
votes
0answers
75 views

Cannot start AngularSeed

I want to start AngularSeed, but I get this error > angular-seed@0.0.0 prestart /var/www/store > npm install npm WARN lifecycle angular-seed@0.0.0~postinstall: cannot run in wd %s %s (wd=%s) ...
0
votes
0answers
23 views

Why npm init is not working - ubuntu 14.04 lts

npm init is not creating the package.json file. Node version: 0.10.25 I found this solution on Ask Ubuntu: sudo apt-get remove npm sudo apt-get remove node sudo apt-get autoremove sudo apt-get ...
0
votes
1answer
45 views

Trouble installing NPM packages?

I have a box running 14.04 - I've uploaded the source files for a site and when I run npm install at site root, I see the progress bar run through but on completion, the node_modules is empty? ...
0
votes
1answer
171 views

Can't install node-inspector in Ubuntu 16.04

When trying to install node-inspector with: sudo npm install -g node-inspector I had the following problem: node-pre-gyp ERR! Tried to download: https://node-inspector.s3.amazonaws.com/debug/v0.7....
0
votes
1answer
276 views

Unable to get NPM to work on Ubuntu 16.04

I am using Ubuntu 16.04 and trying to install NodeJS and NPM on it. I am able to install NodeJS successfully but it did not install NPM which I think should have been installed when you install NodeJS....
0
votes
1answer
71 views

Unable to install npm with bower in ubuntu 12.04

npm install -g bower npm ERR! 404 Not Found npm ERR! 404 npm ERR! 404 'bower' is not in the npm registry. npm ERR! 404 You should bug the author to publish it npm ERR! 404 npm ERR! 404 Note that you ...
0
votes
0answers
112 views

How to install cordova in ubuntu 15.10 for Ionic-Framework

I am working in IONIC, after completing my all my installation for my framework I was checking my cordova version cordova -v but i am getting error like /usr/local/lib/node_modules/cordova/...
0
votes
0answers
34 views

“npm ERR! SELF_SIGNED_CERT_IN_CHAIN” when trying “sudo npm install -g n”

I am running the following command: sudo npm install -g n And getting this error: npm ERR! Linux 3.16.0-67-generic npm ERR! argv "node" "/usr/local/bin/npm" "install" "-g" "n" npm ERR! ...
0
votes
1answer
103 views

Reinstall NodeJS and npm

I installed NodeJS and npm in 14.04 in the hope of setting up Ionic Framework. But there seems to be something wrong and I was told to reinstall NodeJS and npm. Can someone please give me the commands ...
0
votes
1answer
130 views

How to install lastest version of nodejs and npm on ubuntu 14.04 LTS?

I installed Nodejs via package curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash - sudo apt-get install -y nodejs Then I check version of nodejs and npm nodejs -v v0.10.25 npm -v 1.3....
0
votes
1answer
197 views

Ubuntu 15.10 npm error install phonegap

I upgraded to 15.10 and installed Nodejs v5.8.0 and npm 3.7.3 then: on terminal: sudo npm install -g phonegap output: npm WARN deprecated lodash@1.0.2: lodash@<3.0.0 is no longer maintained. ...
3
votes
1answer
149 views

zsh: command not found after npm install in ubuntu

I have installed up to date version of node using: curl -s -O https://deb.nodesource.com/node_5.x/pool/main/n/nodejs/nodejs_5.7.1-1nodesource1~trusty1_amd64.deb sudo apt-get install rlwrap sudo dpkg -...
0
votes
0answers
143 views

Updated Node.js, but npm stuck on previous version

I've got Node.js installed on Ubuntu 15.04. I've also got npm installed. I wanted to get up to the current version of Node, so I installed the tool n and updated Node that way. That worked. However, ...
0
votes
0answers
94 views

Error Update NPM Ubuntu 14.04

I am trying to install phonegap in my ubuntu 14.04 and time to update the NPM always this error. What can it be ? How to fix? The command I am using is sudo npm npm update -g and sudo npm npm install ...
0
votes
1answer
39 views

Error update NPM

I am trying to install phonegap in my ubuntu 14.04 and time to update the NPM always this error. What can it be ? How to fix? The command I am using is sudo npm npm update -g and sudo npm npm install ...
0
votes
1answer
226 views

How can I update npm?

I'm trying to install Yeoman so I can install AngularJS, but I run into problems regarding the version of npm. Here's the output when I run npm install -g yo: npm WARN deprecated npmconf@2.1.2: this ...
2
votes
0answers
138 views

Trying to install AngularJS, but I can't install Yeoman

I'm trying to install AngularJS though Yeoman, but I keep running into problems and can't install Yeoman. My version of NodeJS is v0.12.10 (updated, as far as I can tell), my npm verison is 3.7.3 (...
0
votes
0answers
96 views

Ubuntu Nodejs serialport npm install

I am trying to install the npm serialport package to use it with Nodejs v4.3.1 When running the following command; sudo npm install serialport I get the following error ; /usr/local/bin/node: 1: ...
1
vote
1answer
77 views

How do I install UglifyCSS?

I have uglifyjs, it works great. I want to get uglifycss going, but I'm running into problems. I don't remember how I installed uglifyjs, but uglifycss wants to use npm. So I installed npm: apt-get ...
1
vote
1answer
146 views

Unable to install Express.js

I am running Ubuntu 14.04 64 bit. I was able to install Node.js using the following commands: curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash - sudo apt-get install -y nodejs It worked....
0
votes
1answer
1k views

How to install and configure appium in ubuntu?

I have already install and configure appium in windows platform. I want to do the same in ubuntu. I have searched for some blogs and find some useful. Please tell me the way to install and configure ...
0
votes
1answer
305 views

How to build electron?

Trying to build electron in Ubuntu 15.10. I get a problem with the npm package being out of date. Is there a ppa for a newer electron? $ npm install && npm start npm WARN engine hawk@3.1.2: ...
0
votes
0answers
60 views

On a chroot Ubuntu system how can I install ws?

I have a chromebook with a Precise Ubuntu chroot on it. I try to install npm using sudo apt-get install npm and that works. However, when I try to install ws using npm install --save ws It ...
0
votes
1answer
443 views

sudo apt-get install npm error

When I was about to install nodejs I successfully ran these two commands: sudo apt-get update sudo apt-get install nodejs However, when I ran sudo-apt-get install npm it gave me this list of ...
0
votes
0answers
31 views

cant install npm on ubuntu 12.04

I wanted to upgrade my nodejs and npm 1.4 to the latest. I managed to upgrade my nodejs to 10.0.40, but my npm could not update. So i decided to remove it all together and re-install the latest ...
1
vote
3answers
1k views

Install Node.js in Ubuntu 14.04

I installed Node.js with: sudo apt-get install nodejs But when I type in a console node I get nothing, no command not found, no any error. But when I type nodejs I get the Node.js promt >. Now, ...
0
votes
0answers
62 views

Command Lines with npm returns an empty line after pressing ENTER

For instance after $ "npm --version" ..the command is not executed and in fact returns an empty command line. ron@ubuntu:~$ npm --version ron@ubuntu:~$ ron@ubuntu:~$ npm init ron@ubuntu:~$ ...
2
votes
1answer
112 views

npm --version is different if use sudo npm --version

I have just upgraded nodejs in my machine. I uninstalled the node version (the one in ubuntu repositories) that I had. Then I installed nvm and installed nodejs 4.2.2. Everything goes without errors,...
0
votes
0answers
73 views

npm failure on 14.04 even after clean purge/reinstall: module dependency failure(s)

npm is not working for me: nodejs -v v0.10.40 node -v v0.10.40 npm -v module.js:340 throw err; ^ Error: Cannot find module 'are-we-there-yet' at Function.Module....
0
votes
1answer
226 views

Why is my npm install having an error? [closed]

When I run npm install, I get this error: npm ERR! install Couldn't read dependencies npm ERR! Error: ENOENT, open '/home/mramahy/Desktop/package.json' npm ERR! If you need help, you may report this ...
0
votes
0answers
73 views

npm with a linux 4.2 kernel

I'm using Ubuntu 15.10 which has a Linux 4.2 kernel. But now npm is failing all over the place. Is there a work around for this or should I got back to 15.04 ?. npm ERR! Linux 4.2.0-16-generic ...
0
votes
1answer
108 views

Need help fixing Segmentation Fault

I'm still fairly new to linux and find myself making annoying noob mistakes. Yet, still loving the experience so what does that really say about me? I ran into an interesting problem that I'm not ...
1
vote
1answer
354 views

Installation Error On npm

when I am installing npm after installing nodejs best@ubuntu:~$ sudo apt-get install npm Reading package lists... Done Building dependency tree Reading state information... Done Some packages ...
0
votes
0answers
21 views

E: enable to locate npm

I tried to install angular js, and i need npm, but the problem is come, and appear something like this; Reading package lists... Done Building dependency tree Reading state information... Done ...
0
votes
0answers
462 views

npm kerberos install issues

thanks for your time, this is the case, i have some problems when try to install kerberos nodejs package on my ubuntu 14.04 x64. This is the terminal output: khan@khan-Satellite-L645D:~$ npm install ...
3
votes
1answer
2k views

npm installed binaries not available from command line

I tried installing babel-node via sudo npm install -g babel-node. The binary for babel-node seems to be available in /usr/local/lib/node_modules/node-babel/node_modules/.bin/babel-node, but this ...
0
votes
1answer
516 views

NPM - Some packages could not be installed

I'm trying to install npm (package manager for node.js developers). sudo apt-get install npm But there seems to be a problem with installation: Reading package lists... Done Building ...
0
votes
0answers
142 views

What is difference between npm and nvm?

I want to install node.js in ubuntu 14. There are two ways - using npm and using nvm! Which is better or are they two different things? Thanks in advance!
0
votes
0answers
90 views

grunt command when installing popcorn time on but error with

hello I was following this question answer to install popcorn time when I faced a block...every time I try to run grunt build command it return this error: /usr/bin/env: node: No such file or ...
0
votes
0answers
226 views

npm install gets an error

hello every time I try to apply command sudo npm install i get the following error: npm ERR! install Couldn't read dependencies npm ERR! Error: ENOENT, open '/home/mramahy/Desktop/package.json' npm ...
1
vote
0answers
87 views

Getting read only file errors when using npn install jade for a node js project

I am using Ubuntu (latest version downloaded) and node js (again latest version downloaded) on a Virtual Box. I have shared a folder where in Ubuntu I am trying to install jade in it. But I keep ...
2
votes
1answer
2k views

How do i install less css compiler?

I just installed less css compiler using npm. Now thelesscfile directory is /usr/local/bin/lessc . i'm not clear what i need to change in lessc file and how to understand that compiler has been ...
0
votes
1answer
523 views

While writing npm install learnyounode -g on terminal? 12.04 LTS

~$ npm install learnyounode -g npm ERR! registry error parsing json npm ERR! SyntaxError: Unexpected token < npm ERR! <!DOCTYPE html PUBLIC"-//W3C//DTD XHTML 1.0 Transitional//EN""http://www....
2
votes
2answers
2k views

npm -v return Segmentation fault

nodejs, npm works fine before. When I try to upgrade it sudo npm cache clean -f sudo npm install -g n sudo n stable And type npm -v, it throw "Segmentation fault". I restart system and I type a ...
1
vote
0answers
218 views

Bad installation of Uglify (Node-based JavaScript minifier)

I want to install Uglify in order to minify JavaScript files on the command line. Some sources say to install npm and then use npm install uglify-js -g. Some sources say you can just apt-get install ...
1
vote
1answer
1k views

npm can't be installed

shubham@shubham$ npm The program 'npm' is currently not installed. You can install it by typing: sudo apt-get install npm shubham@shubham$ sudo apt-get install npm Reading package lists... Done ...
2
votes
1answer
2k views

“yo” (Node/Javascript module) installation failed

i have been trying to install yo, but keep getting this errors, anyone please help. root@ubuntu:/opt/hubot# npm install -g yo \ > spawn-sync@1.0.11 postinstall /usr/lib/node_modules/yo/...
2
votes
1answer
2k views

Node Package Manager got corrupted in some way, now it cannot be installed

I ran into a problem today when I decided to use npm update -g in a nodejs app directory. This was a bad decision, because it caused me to run into a common and disastrous problem with npm. The ...