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
2answers
183 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....
1
vote
0answers
15 views

Error installing Nodejs package

I needed to install Nodejs into Ubuntu 14.04 For that, I executed the following command in the terminal with reference from following URL: https://www.digitalocean.com/community/tutorials/how-to-...
2
votes
1answer
35 views

Setting an environment variable in /etc/environment doesn't work but export does?

So I'm trying to set an environment variable called "NODE_PATH", It works by using: export NODE_PATH=/home/myname/node So I thought I'd set it up permanently and found that it needs to be done in ...
0
votes
0answers
33 views

Node error with steam trade/jackpot site bot

I am making a bot for a csgo gambling website and as I node the bot for it to work I get the error: TypeError: offer.getEscrowDuration is not a function at /root/bot.js:225:9 at Request....
0
votes
0answers
24 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?
0
votes
1answer
26 views

Help with installing Node.js on ubuntu unity

As the title suggests I need help with installing node.js on my acer chromebook with ubuntu unity, which is updated to the latest version. I need this for school and this is literally my first time ...
1
vote
1answer
541 views

node.js not starting by default in Lubuntu guest running in Oracle VM VirtualBox

I'm using Lubuntu 14.10 in Oracle VM VirtualBox. I installed node.js using nvm. After installation, I could run node --version in the same terminal and the version installed showed up. However, I ...
0
votes
1answer
14 views

NodeJS not found after installing

I have this program which needs nodejs to work. So when I install nodejs and test it out, it doesn't work. This is exactly what I did: multiplemark@multiplemark-OptiPlex-GX280:~$ sudo -s [...
1
vote
1answer
76 views

How do I get my Ubuntu web server to host on the internet?

As far as I know this isn't a duplicate, but I may be wrong. Anyways, my Ubuntu server is running a NodeJS Application and it seems to run fine. I just put in the local ipv4 address in the browser ...
0
votes
1answer
199 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
0answers
42 views

Get raml2html to work on 14.04

I'd like to be able to execute raml2html to generate documentation for some APIs that are specified using RAML. I have installed raml2html using the nodejs package manager via $> sudo npm i -g ...
4
votes
1answer
512 views

Why does installing node 6.x on Ubuntu 16.04 actually install node 4.2.6?

These were my steps to install node on Ubuntu 16.04: curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash - sudo apt-get install -y nodejs sudo apt-get install -y npm which are the ...
1
vote
1answer
31 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 ...
6
votes
2answers
6k views

How to install node-sass/gulp-sass on Ubuntu 14.04+ or Linux Mint 17+?

I'm trying to switch from gulp-ruby-sass to node-sass which is based on libsass a C implementation faster than the classic Ruby version. So far I've install the node packages: Node package cd /path/...
74
votes
11answers
132k 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 ...
10
votes
5answers
22k 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 ...
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 add-apt-...
1
vote
0answers
59 views

Cannot install NodeJS legacy

I am using Ubuntu 15.10. I am trying to install NodeJS legacy but I get this error The following packages have unmet dependencies: nodejs-legacy : Depends: nodejs (>= 0.6.19~dfsg1-3~) but it is ...
0
votes
0answers
81 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
29 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 ...
8
votes
5answers
17k views

Having trouble to find the node in ubuntu 14.04 after installing

I installed the NodeJS in Ubuntu 14.04 by nvm by following this site Installing NodeJS Though I had the following problem as nvm ls sbin mkdir: cannot create directory ‘/usr/sbin/alias’: ...
0
votes
0answers
15 views

nodejs 6 installation shows version 0.10.25

I am trying to install the nodejs 6 version : curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash - sudo apt-get install -y nodejs First of all , it returns me an error: env: -E: No such ...
186
votes
6answers
213k views

How can I update my nodeJS to the latest version?

I have installed nodeJS on Ubuntu with following code sudo apt-get install nodejs Since I am a new user for ubuntu I also ran this code too sudo apt-get install npm Now when I type nodejs --...
42
votes
8answers
92k 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
0answers
16 views

Why does Ubuntu package node.js packages?

I've been looking through this list of node.js packages provided by Ubuntu, and it's confused me a little. Why do any of these exist beyond node.js and npm itself? The majority of these packages (e....
1
vote
0answers
136 views

How to install nodejs 4.4.3 LTS version on Ubuntu 12.04?

I have tried to build it form the source using the following commands: cd /usr/local/src wget http://nodejs.org/dist/v4.4.3/node-v4.4.3.tar.gz tar -xvzf node-v4.4.3.tar.gz cd node-v4.4.3 ./configure ...
0
votes
0answers
33 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
1answer
285 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
0answers
11 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
134 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
108 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
71 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
235 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. vagrant@vagrant-ubuntu-trusty-64:~$...
-1
votes
1answer
94 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- https://deb.nodesource.com/...
28
votes
6answers
32k 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 /usr/...
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 ...
1
vote
0answers
46 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
178 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
40 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
759 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 LOG_FILE=/root/...
0
votes
0answers
35 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! ...
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 ...
10
votes
5answers
16k 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
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
14 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
21 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 ...
20
votes
7answers
34k 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
177 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
59 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
71 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 ...