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
87 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
137 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- ...
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
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
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
0answers
17 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
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
1answer
53 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
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 ...
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
1answer
89 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
0answers
24 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
143 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 ...
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. ...
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
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: ...
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 ...
0
votes
0answers
88 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
38 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
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
180 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
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
51 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 ...
0
votes
1answer
113 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
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 ...
1
vote
1answer
77 views

Unable to install Express.js

I am running Ubuntu 14.04 64 bit. I was able to install Node.js using the following commands: curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash - sudo apt-get install -y nodejs It ...
0
votes
1answer
98 views

How to autostart node forever and use spawn() as sudo on Ubuntu?

My app periodically spawns a CasperJS scraper: spawn(CASPER_PATH, [SCRIPTS_PATH + fileName, '--ssl-protocol=any', '--user='+user, '--scrapeId='+scrapeId, '--pass='+pass], { ...
1
vote
0answers
97 views

Access nodejs application port from external IP

I have an application with port 9901 and hosted in online server. If i check this application from the same server with http://127.0.0.1:9901/ or http://127.0.0.1:9901/ the application is run ...
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
1answer
21 views

How many ports opened by a single application

I am writing a program in nodejs that will be firing number of calls to an api. I need to limit number of requests to 100 at a time. I have finished writing the application, but how can I check in ...
0
votes
1answer
93 views

How to install latest node inside a docker container

How do I install the latest node inside a docker ubuntu 15.10 container? apt-get install nodejs installs version 0.1 and no npm Thanks
0
votes
1answer
110 views

Working with Nodejs + MSSQL at Ubuntu

I've my nodejs app connected to MSSQL server, worked perfectly in my Windows laptop, sing mssql@npm The same app is not able to see the database in my Ubuntu laptop. I defined the mssql connectivity ...
0
votes
1answer
218 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: ...
1
vote
2answers
472 views

Safe to remove /usr/local/bin/node?

In the past I installed Node.js. Now I tried updating it following this guide and ended up having two versions of it, node on version 0.10.7 and nodejs on version 0.12.7. To clear this up I wanted to ...
2
votes
2answers
241 views

Run Node.js as a Service on Ubuntu

I have installed the nodejs server on Ubuntu 14.04.2 LTS. Now I have to start its service automatically. manually starting its services working fine, but the issue is when closing the terminal its app ...
1
vote
1answer
150 views

How can I install node.js?

I have a chromebook with a Precise Ubuntu chroot on it. I can't figure out how to install the current node.js from the tarball, because ./install make sudo make install doesn't work.
0
votes
0answers
54 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
0answers
28 views

Nodejs + lamp setup on dedicated server

I am working in a project which needs nodejs + lamp server which will be installed on a dedicated Server running ubuntu Server. I know that they won't interferrior each other AS long as I don't mess ...
1
vote
0answers
34 views

Ubuntu touch app with nodejs library [duplicate]

I want to write an application with the library in nodejs. Is there any way to connect QML or C++ with nodejs on ubuntu touch? Edit: I want to write a native application (in QML) and use a library ...
1
vote
1answer
259 views

Unable to update Node JS - keeps returning to old version [Ubuntu 15.04]

I'm unable to update nodejs, and I can't see why. If I were to make a guess, I'd say that I have two repositories listed in apt-get, that both contain a nodejs package. Here's what I've done: ...
0
votes
1answer
258 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 ...