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

learn more… | top users | synonyms

2
votes
2answers
93 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
41 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
23 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
759 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
62 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
169 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
95 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
50 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
1answer
146 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
101 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
176 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 ...
1
vote
1answer
206 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
45 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 ...
0
votes
2answers
8k 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
2answers
138 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
62 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
77 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
57 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
576 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
531 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 ...
1
vote
3answers
895 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
243 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 ...
0
votes
0answers
163 views

Install Node on Ubuntu 14.04 1and1 Virtual Server

I have a Virtual Server from 1and1 running Ubuntu 14.04. After correcting the /etc/apt/sources.list to the official ones I tried to install nodejs and npm (to install bower later). I followed the ...
0
votes
0answers
456 views

Cordova / npm problem in sockets connection Ubuntu 14.04

I am facing a problem while using Cordova, every time Cordova/NPM needs to access web resources, like add a android platform. I have the android sdk up and running. And using Ubuntu 14.04. When I ...
2
votes
4answers
5k 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
1answer
5k 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
203 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 ...
2
votes
3answers
5k 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 ...
3
votes
1answer
575 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 ...
3
votes
1answer
731 views

Problem with Node.js installation

I am very new to Linux so my question may seem stupid however I cannot install Node.js and npm software successfully. More precisely, the installation is completed but when I am trying to run some ...
1
vote
2answers
551 views

Phonegap Error installation in ubuntu

Good day every one, I tried to install Phonegap in my PC but i counter the problem hopefully any can help me. Here's the ubuntu version Distributor ID: Ubuntu Description: Ubuntu 12.04.4 LTS ...
2
votes
1answer
342 views

Strange recursive folder created on npm installation

something very strange is happening to my system. I'm running Ubuntu 12.04 and I use it for node.js deveopment. Every time I perform an installation either (sudo npm install -g myPackage) a srtange ...
0
votes
1answer
191 views

Forever cannot be installed

While trying to install Forever using this command: sudo npm -g install forever I'm getting this error: npm WARN engine hawk@0.10.2: wanted: {"node":"0.8.x"} (current: ...
4
votes
4answers
10k views

node: command not found

I don't understand why the node command will not work, whereas nodejs works: $ node --version zsh: command not found: node $ nodejs --version v0.10.15 I tried apt-get install nodejs, but the latest ...
2
votes
1answer
1k views

npm completion broken

I'm running npm 1.2.18 and node v0.10.15. npm completion is broken. If I try to tab complete with npm or if I run npm completion, it displays: npm ERR! System Linux 3.11.0-14-generic npm ERR! ...
0
votes
1answer
1k views

npm installed packages are not accessible

I installed nodejs with the instructions from this post on ubuntu 13.1 All went smooth. After that I installed express by issuing the command npm install express which result in express@3.4.4 ...
1
vote
2answers
1k views

After installing coffee script the coffee command is found but does nothing

I just installed coffe script with NPM (sudo npm install -g coffee-script) When I type coffee into my terminal nothing happens. The command is found but does not show any reaction. Does anyone know ...
5
votes
2answers
3k views

How to update coffee script?

I got a following error when I tried to watch coffee scripts by coffee -o js -cw coffee. /usr/local/lib/node_modules/coffee-script/lib/coffee-script/command.js:321 throw e; ^ ...
6
votes
2answers
14k views

Ubuntu / Install NodeJS & npm

I'm trying to install nodejs and npm, however, it fails. This is my terminal: sudo apt-get install nodejs npm Reading package lists... Done Building dependency tree Reading state information... Done ...
27
votes
4answers
20k views

Npm errors when installing packages on windows share

I have Ubuntu 12.10 running as a VMware guest on my Windows 8 host. I have shared a folder on my Windows 8 Host and it is mounted in the Ubuntu guest on startup using this entry in fstab: ...
3
votes
4answers
5k views

npm breaks after updating nodejs to 0.10

I am on 12.04LTS. I updated my system today and in that process nodejs got updated. Now my npm has stopped working. For e.g: $ npm install express npm http GET ...
0
votes
1answer
2k views

Updating Less Css

I had Less Css working on my 12.1 Ubuntu install fine. I was using it by running lessc from command line. When I run lessc -v I get: lessc 1.3.0 (LESS Compiler) [JavaScript] I need to upgrade to ...
10
votes
3answers
18k views

“No such file or directory” error while using npm

I installed node and npm using the instructions provided here I was able to use node successfully. However, as I attempt to install the "Formidable" node module, I get the following error: $npm ...
18
votes
5answers
29k views

How do you install less css command line compiler?

From my understanding and correct me if I'm wrong, I have to get ruby or NPM installed to get the less css compiler working. I don't have any ruby installed and I'm not really sure how to get my ...