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

learn more… | top users | synonyms

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-...
0
votes
0answers
22 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 ...
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
32 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
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
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
508 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
30 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 ...
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
80 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
26 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
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 ...
0
votes
2answers
182 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
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
1answer
282 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
234 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/...
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
1answer
70 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
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
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! ...
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
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
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 ...
0
votes
0answers
175 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
1answer
132 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
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
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 ...
1
vote
0answers
327 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
70 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
44 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 ...
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. ...
1
vote
3answers
103 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
1answer
32 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: ...
0
votes
1answer
69 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 ...
0
votes
0answers
174 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
44 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 ...
1
vote
1answer
70 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
150 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
322 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
227 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
140 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
78 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 ...
0
votes
1answer
164 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 ...