Event-driven I/O server-side JavaScript environment based on V8. Includes API documentation, change-log, examples and announcements.

learn more… | top users | synonyms

0
votes
1answer
76 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 ...
0
votes
0answers
7 views

Whats the best choice to run a nodejs app as webkit

We are developing an nodejs application and the computer(tablet) will going to run only the application not anything else. So when the system restarts the nodejs app will directly opened and user will ...
0
votes
1answer
83 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 ...
0
votes
1answer
52 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
24 views

Cannot find module 'crypto-js' Ubuntu 14.04

I am working with node-red and I am facing some issues with some packages I have downloaded from this github. I have followed the instructions to get npm and to install it but I get error with missing ...
0
votes
1answer
129 views

Cannot install Nodejs 4 in Ubuntu 14.04

I've run the following commands in my Vagrant machine. As you can see, I have Node 0.10.40 and I cannot make it update it to 4.4.3 which is the current LTS version. ...
-1
votes
1answer
47 views

I'm not able to upgrade NodeJS on Ubuntu 14.04

I'm currently using Ubuntu 14.04 LTS, and I installed NodeJS 0.10. I am now trying to upgrade to version 5 of NodeJS. I used the commands below to upgrade: wget -qO- ...
27
votes
6answers
30k views

node.js conflicts: /sbin/node vs /usr/bin/node

I have two Ubuntu 12.10 machines: machine A is a VMWare VM and machine B is and old Acer laptop. On both machines, I installed node using apt-get. However machine A installs the main binary as ...
1
vote
3answers
4k views

Problem: “npm ERR! cb() never called! npm ERR! not ok code 0” when installing etherpad

on an Ubuntu 12.04.3: adduser --system --home=/var/www/etherpad --group etherpad apt-get install gzip git-core curl python libssl-dev build-essential abiword python-software-properties ...
4
votes
3answers
6k views

less css and and node js troubles

When I try to install less css compiler under my Ubuntu 13.10 box I get following message and lescss don't working. In what way I can fix the problem? I execute: sudo npm install -g less After ...
57
votes
9answers
107k 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 ...
1
vote
0answers
22 views

npm forever is not responding after install

I am new to node. I am trying to run my certain script using forever. I followed this link npm forever install and installed forever. Now when I start forever its not showing anything in response ...
0
votes
0answers
142 views

Debugging Upstart script for nodejs process

My Upstart script is as under. It looks long, but its mostly comments. If you can bear to read through it, then I get an error like .... typeerror: arguments to path.join must be strings... ...
0
votes
1answer
29 views

node syslog outputs “Error processing log message”

In syslog-ng.conf I have the following: source s_imp { tcp(ip("localhost") port(514)); }; filter f_imp {program("imp");}; destination d_imp {file("/home/rpr/syslog.log");}; log {source(s_imp); ...
0
votes
2answers
739 views

Upstart and Node js: Cannot find module

I'm trying to setup upstart to run with my Node js and Socket.io server. /etc/init/quizens.conf env NODE_BIN=/usr/bin/node env APP_DIR=/root/quizens env SCRIPT_FILE="quizens.js" env ...
0
votes
0answers
16 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! ...
36
votes
8answers
76k views

How do you update npm to the latest version?

I'm having issues with npm in a Vagrant box I'm setting up. I noticed that the npm version is somewhat old, so I wanted to check the problem with the latest release. It is my understanding that you ...
1
vote
4answers
1k views

Node is installed during provisioning on vagrant but disappears upon connecting to ssh

I am really getting sick of this and I don't know what is wrong. I am using Vagrant 1.7.2 , Ubuntu 13.04 , Virtual Box 4.3 12 r93733 My host machine is Windows 8.1 Here is my node bootstrap script ...
8
votes
5answers
14k 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 ...
2
votes
1answer
98 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
12 views

Switch default to using this binary version

I am using Ubuntu 14.04 which is a virtual image on DigitalOcean. I installed the latest node.js version based on instructions here. https://github.com/nodesource/distributions This latest node.js ...
0
votes
0answers
20 views

Running my process in a different user

I have a simple Node JS script running on my Ubuntu VPS on the root user, the VPS will be used for nothing else, doesn't use excessive CPU or RAM or allocated memory space. Should I create a new user ...
19
votes
7answers
30k views

Checking version of nodejs returns nothing

I'm trying to install node js onto Ubuntu so that I can run AngularJS. I'm not sure if I've installed it before so I ran sudo-apt get install node and once that is done I then run node ...
0
votes
0answers
80 views

sudo apt-get update fails on postgresql

I am trying to install nodejs but it keeps on failing. So I have uninstalled nodejs and found out that sudo apt-get update still fails. It's been so long that I have used postgresql. but here is my ...
0
votes
0answers
42 views

How to complete remove/purge NPM - NODE - Mongodb -Mongo express?

I am complete Noob in NPM - NODE - Mongodb - Mongo express, I tried to install them month ago and I really don't remember how I did install them, I know they are installed because I can get the ...
0
votes
0answers
21 views

How to install MEAN JS on Ubuntu 14.04?

I have tried to install MEAN JS on my local machine by myself but it did not work. Has anybody experience with that or maybe know about a proved step by step guide? There are some instructions when ...
0
votes
0answers
57 views

Using Bonescript with Snapcraft and Snappy ubuntu core

I am using Snappy ubuntu core 16.4 on my BeagleBone Black, and the latest version of Snapcraft for building aplications. Due to cross building problem I got to build my snap package on BeagleBone in ...
1
vote
0answers
138 views

How to install node 0.10.40 on Ubuntu 14.04

I'm trying to follow this instruction (from How to Install the Latest Versions of NodeJS and NPM for Ubuntu 14.04 LTS): apt-key adv --keyserver keyserver.ubuntu.com --recv 68576280 apt-add-repository ...
1
vote
2answers
50 views

Upgrading Node.js

I'm currently installing Node.js on my system running Ubuntu 14.04 LTS I've run the commands from the website: curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash - sudo apt-get install -y ...
1
vote
2answers
39 views

Getting Node.js to work

My computer is running Ubuntu 14.04.4 LTS. I was trying to get a simple hello world file to work with node, but was unable to. I ran the command node hello.js and nothing happened. I ran apt-get ...
1
vote
3answers
64 views

Snappy ubuntu core on BeagleBone Black?

What is the best way to develop Snappy applications for Beagle bone black due to snapcraft cross building problem. I can run my Snappy nodejs web in kvm but service is failing on BeagleBone Black
0
votes
0answers
146 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. ...
0
votes
1answer
23 views

forever start not working

I am using following command: /usr/local/bin/forever start /var/www/html/test.js | tee /tmp/forever-start.log But it doesn't work. Not printing output in log file. In test.js I have this code: ...
2
votes
1answer
2k views

How to install nodejs specific version

I have installed nodejs using sudo apt-get install nodejs. This installed version 0.10.32 but I want to install version 0.10.15. I already tried this command sudo apt-get install ...
0
votes
1answer
50 views

Snappy webchat example not working

I am new in snappy ubuntu core. I downloaded the webchat example from https://github.com/ubuntu-core/snapcraft/tree/master/examples/webchat. Then I called snapcraft snap command, and snappy build ...
9
votes
3answers
13k views

Installing Node.JS through a PPA does not fetch the latest version

yeah yeah I know, this has been asked before. But when using the chris-lea ppa or the "official way" (which I think is actually the same thing?), after installing you get this: ~$ node --version ...
3
votes
1answer
4k views

How can I fix the “Cannot find module 'bplist-parser'” error with PhoneGap?

I've installed everything - node.js and then used npm to get PhoneGap. But then I get this error when I start PhoneGap: phonegap module.js:340 throw err; ^ Error: Cannot find ...
0
votes
0answers
86 views

How to create snappy nodejs web application

Currently I'm working on IoT project, and we decided to use Beagle Bone Black. Original BBB OS use too much space and RAM so we googled and found Snappy Ubuntu Core as a perfect solution. Problem is ...
-1
votes
1answer
37 views

Open port for public

I have a server that port 9901 is running a application for nodejs. If i access the app via http://localhost:9901, the apps run successfully. But if i access the app from external computer and using ...
4
votes
2answers
13k views

alias of nodejs as node on 14.04

i installed nodejs with apt-get on 14.04 When i do nodejs -v v0.10.25 and when i do node -v node : command not found. So i want to make alias of nodejs as node So i inserted a line in ...
1
vote
1answer
37 views

How to redirect specific range of ports to port 80 in node.js

When I use the below command, I am able to redirect from port 3000 to port 80, but I need to redirect to port 80 when a request is for any other port. sudo iptables -t nat -A PREROUTING -i eth0 -p ...
0
votes
0answers
73 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
1answer
177 views

Node on Snappy Ubuntu

Does Snappy Ubuntu support Node.js? I need to run a node server on Ubuntu core. If yes, is there any way to do it.
0
votes
1answer
25 views

Running a node app in ubuntu

I have a node application that I basically run in 4 steps since I also need to run mongodb and redis: mongod --config=/etc/mongod.conf service redis start npm run local npm run work-local Right now ...
0
votes
1answer
111 views

How to build node.js app on raspberry pi with Ubuntu Snappy now?

I used to use node-snapper to build node.js app running in ubuntu snappy while in the recent updates, the tutorial page on ubuntu.com has been removed and only snapcraft is mentioned now. From my ...
0
votes
1answer
168 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
82 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
48 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
42 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 ...
42
votes
4answers
39k views

How to install NodeJS 4 on Ubuntu 15.04 64 bit edition?

How can I install NodeJS 4 on Ubuntu using apt-get install? Which apt repo do I need to add as default sudo apt-get install installs Node 0.12.x