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

learn more… | top users | synonyms

0
votes
1answer
15 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
65 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
33 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
100 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 ...
1
vote
0answers
19 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
210 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
30 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
0answers
71 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 ...
0
votes
0answers
58 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 ...
0
votes
1answer
93 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
45 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
54 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
247 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
17 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
380 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 ...
1
vote
1answer
795 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
231 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
98 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
87 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
107 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
56 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
645 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
185 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 ...
2
votes
2answers
878 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 ...
0
votes
0answers
162 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
233 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 ...
1
vote
1answer
637 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 ...
0
votes
1answer
559 views

Error with Node and Gulp

I am trying to install paperwork, and while following https://github.com/twostairs/paperwork/wiki/Installing-Paperwork-on-Ubuntu-14.10 I got near the very end when I get this. :/var/log/nginx# ...
0
votes
1answer
435 views

npm install -g not working

I'm trying to run node.js tutorials from NodeSchool, I've run the following commands: curl -sL https://deb.nodesource.com/setup | sudo bash - sudo apt-get install nodejs sudo apt-get install ...
0
votes
1answer
102 views

NPM Read-Only File System for User

So I've been a bit of an idiot. I was trying to fix an NPM issue, and ran these two commands: sudo chown -R $USER ~/.npm sudo chown -R $USER /usr/local/lib/node_modules as per this suggestion. ...
1
vote
2answers
899 views

cordova install on ubuntu 14 doesn't seem to be working

I'm following the instructions found here to install cordova on ubuntu: http://cordova.apache.org/docs/en/4.0.0//guide_cli_index.md.html#The%20Command-Line%20Interface So far, I've run the ...
0
votes
0answers
292 views

Is there a way to install jHipster on Ubuntu 14.04?

Can you give an advise is it possible to install jHipster on Ubuntu 14.04? Yesterday I try to do this by following regular routine on the jHipster site but got a lot of errors. After I start to ...
0
votes
2answers
360 views

Can't update npm version EACCES --> npm update -g

I’m and trying to update my Node and npm version on the latest Ubuntu, but I’m stuck. I tried every solution I found on the Internet — changing permissions, complete uninstall and reinstall — but ...
3
votes
1answer
486 views

Can't use npm installed packages from command line

I installed node.js and npm recently and was trying to install the learnyounode npm package using sudo npm install -g learnyounode, but after installing I am not able to access it from command line. ...
0
votes
0answers
77 views

checking Server load in node.js

I have to calculate number of requests for a server in node.js and based on the load i have to spawn a new server. I have used a function with parameters port number and server name to create servers ...
30
votes
7answers
71k views

How to Install the Latest Versions of NodeJS and NPM for Ubuntu 14.04 LTS

I noticed over at the https://nodejs.org/ website that node is currently at v 0.12.0. Can someone pls let me know how (terminal commands pls) to install this latest version of node together with npm ...
0
votes
3answers
348 views

npm unresponsive after nodejs install on fresh Ubuntu 12.04.5

Here's where I'm at... I have an old chromebook that I put Ubuntu (and Xfce) on via crouton. After installing the chromium browser, I installed nodejs via apt-get. I found that when trying to install ...
0
votes
0answers
105 views

Installed NPM w/ apt-get, Now 502 Bad Gateway

Installed NPM with Apt-Get, now nothing works. 502 bad gateway error from NGINX on all sites on server. It removed a ton of Plesk packages for some reason. I didn't expect it to break my entire ...
-1
votes
1answer
162 views

prefix command error

When open Terminal I get this error ERROR: Directory [=] does not exist. The prefix script allows you to manage multiple installations of a set of software installed on the same machine. It helps ...
0
votes
1answer
65 views

Cant find nodejs on Debian [closed]

I install nodejs to Debian. But I cant find it in /usr/bin/nodejs. I try to search but have the same result. nodejs -v v0.10.35 Where I can find nodejs file ?
2
votes
1answer
678 views

Slap Editor Installation problem, (sudo: npm: command not found) [duplicate]

I'm installing Slap Editor on Ubuntu 14.04 and when I type sudo npm install -g slap its giving me the error sudo: npm: command not found . the node version on my system is 0.10.33 and the npm version ...
0
votes
1answer
749 views

Ubuntu 14.04: Installation of `vega` package of `npmjs`

I need to install vega package of npmjs (See here). But $ sudo npm -g install vega throws the following errors. Any help will be highly appreciated. Thanks in advance for your help. $ sudo apt-get ...
3
votes
3answers
2k views

executing certain commands do absolutely nothing

I have installed 3 new packages recently through NPM and none of them are executing. I ran sudo npm install -g ionic and the installation looked like normal. Then I can run which ionic and I get ...
1
vote
0answers
397 views

npm install does not create subfolder in node_modules

I am having some weird issues. I just installed Ubuntu 14.04 and trying to get cordova working. So I first installed some basic stuff (apache2, mysql-server, etc) and then installed npm (sudo apt-get ...
5
votes
4answers
10k views

bower install does nothing, not even throw an error

I am on Ubuntu 14.04. I did sudo apt-get install npm. Then I did npm install -g bower, which was successful. With which npm, I get /usr/bin/npm/. With which bower, I get /usr/local/bin/bower. I ...
4
votes
2answers
7k views

Trying to install yeoman on ubuntu to use with nodejs and npm

Using Ubuntu 13.10 I am trying to install yeoman using sudo npm install -g yo but it doesn't seem to work globally both npm and nodejs are installed, however, I am not sure that they are installed ...
0
votes
1answer
393 views

node js project

i want to create a project and i have installed nodejs, and i have installed npm and on the terminal when i write "express " it do not make a folder or if it make the "npm start" do not have any ...
7
votes
5answers
10k views

couldn't install npm on ubuntu

Tried to install nodejs and npm on ubuntu 12.04. I googled and did it. Now, I could not install npm on machine. sudo apt-get install npm Which gives me this The following packages have unmet ...
4
votes
2answers
806 views

phonegap create test not working

I installed node.js and npm on my Ubuntu 14.04 system using: sudo apt-get install nodejs sudo apt-get install npm I then tried to install phonegap with npm install -g phonegap. Everything seemed ...