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

learn more… | top users | synonyms

6
votes
1answer
101 views

Having trouble following node.js juju docs

I'm trying to follow the docs here and I'm running into an issue with this line: juju deploy --config myapp.yaml node-app myapp I've created a myapp.yaml file and added a github URL to a sample ...
2
votes
1answer
104 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 ...
2
votes
1answer
484 views

Installing npm /nodejson ubuntu

sudo apt-get install npm then I get this: The following packages have unmet dependencies: npm : Depends: nodejs but it is not going to be installed Depends: node-abbrev (>= ...
2
votes
1answer
3k 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 ...
2
votes
1answer
286 views

UTF-8 Issue, don't know where?

I am running a node.js server and the following line just isn't working. console.log("☺☻♥ مرحبا 你好"); I opened up the file in nano and cat on my ubuntu server 14.04 (no gui, no window manager, no ...
2
votes
1answer
394 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 ...
1
vote
1answer
52 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 ...
1
vote
1answer
136 views

NodeJS install not complete? Error about listen not defined?

My 2nd day with Ubuntu: Installed NodeJS, ran my first NodeJS example. Got next error in console: /home/privateuser/nodejsweb/helloweb.js:11 listen(9999); ^ ReferenceError: listen is not defined at ...
0
votes
1answer
89 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: ...
3
votes
0answers
124 views

Access API for Unity topbar?

Is there any way to access Ubuntu Unity topbar using node.js ? I just want to make a web app and need some way to make a indicator for the web app .
2
votes
0answers
116 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 ...
1
vote
0answers
13 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 ...
1
vote
0answers
31 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 ...
1
vote
0answers
201 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
0answers
124 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 ...
1
vote
0answers
43 views

How do you troubleshoot a node-app app with haproxy?

I've got what appears to be an almost-functioning install of my node app within an Ubuntu Trusty MAAS rig with Juju on a private network (which doesn't need to be published). I'm using juju-gui so ...
1
vote
0answers
78 views

Getting read only file errors when using npn install jade for a node js project

I am using Ubuntu (latest version downloaded) and node js (again latest version downloaded) on a Virtual Box. I have shared a folder where in Ubuntu I am trying to install jade in it. But I keep ...
1
vote
0answers
501 views

Error creating Node.js Express App using Intellij Idea

I am new with Ubuntu. I am trying to create a sample node js with express project using intellij on ubuntu. I have installed node, nodejs, npm, express and when I create a new project using intellij ...
1
vote
0answers
107 views

nodejs express scaffold app fails silently

I'm just now the new proud owner of a very small unmanaged VPS (I want to learn how to do everything myself :>). I'd say I'm between beginner and intermediate or intermediate in unix/bash-fu but I'm ...
0
votes
0answers
11 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
10 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
0answers
82 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
9 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
0answers
25 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
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
117 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
53 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
30 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
62 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 ...
0
votes
0answers
173 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
105 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 ...
0
votes
0answers
95 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
0answers
80 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: ...
0
votes
0answers
56 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
35 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 ...
0
votes
0answers
50 views

how to retrieving deleted npm binary?

I accidentally deleted all the content from /usr/local/lib/node_modules, it has npm folder which is necessary for dependency resolution in Nodejs. Now when i run npm command on terminal it gives me ...
0
votes
0answers
141 views

How to run this node.js mqtt broker in the background all the time?

A stand-alone Node.js MQTT broker was installed successfully on Ubuntu 14.04 digitalocean cloud. I can run the MQTT broker binary (not node.js script) by running the command below; $ mosca -v | ...
0
votes
0answers
34 views

Package not found but exists

I decided to start use Gulp. To install it, apt-get required package 'curl' but there was some error with words 'not installable'. I don't remember, which one I had and which it needed, but I solved ...
0
votes
0answers
160 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
0answers
449 views

npm kerberos install issues

thanks for your time, this is the case, i have some problems when try to install kerberos nodejs package on my ubuntu 14.04 x64. This is the terminal output: khan@khan-Satellite-L645D:~$ npm install ...
0
votes
0answers
61 views

Why wont my symlink run node?

I've recently downloaded node and unpacked it to /usr/local/node. The executable can be found at /usr/local/node/node-v4.1.0-linux-x64/bin/node. I have create a symlink to the file at /usr/bin/node, ...
0
votes
0answers
111 views

Nodejs Don't work

Hi I am doing a csgojackpot website which is going to be based on a ubuntuserver, so far so good. But I have a problem with nodejs which the bot is using and trying to start it with a .bat file. Yes I ...
0
votes
0answers
139 views

What is difference between npm and nvm?

I want to install node.js in ubuntu 14. There are two ways - using npm and using nvm! Which is better or are they two different things? Thanks in advance!
0
votes
0answers
54 views

Setting up Varnish Cache with nodeJS

Goal: I'm trying to setup varnish on my Ubuntu webserver. I've read the docs and getting started stuff, doesn't look too complicated, however, I don't think my site is ever being cached by it. I am ...
0
votes
0answers
24 views

ssh logout cause bash file problem

I have a .sh file which is called by a Node Web Server. In the .sh file I run some commands with my username [name], which is a superuser, without specifying the password. If I'm connected through ...
0
votes
0answers
32 views

// , How can I prevent Prey 1.4.0 and 1.3.9 installation happenning over and over as it tries chown?

// , I keep seeing attempts to chown files for prey 1.4.0 and prey 1.3.9 near the end of the output for any dpkg installation command. For instance I get the following spew in response to sudo ...
0
votes
0answers
212 views

Permissions issue when running Ghost blog using forever

I am trying to run a Ghost blog on an Amazon AWS Ubuntu server using forever so that I can close the terminal window & leave the blog running. I think it is not running due to a permissions issue ...
0
votes
0answers
58 views

I need some help installing nodejs

I get this error when i try to the express version. module.js:340 throw err; ^ Error: Cannot find module 'mkdirp' at Function.Module._resolveFilename (module.js:338:15) at ...
0
votes
0answers
223 views

forever not keeping node process alive

I am using the forever node.js module in order to keep a node server up and running on ubuntu 14.04. Unfortunately, this has stopped working (I had working configuration where forever was run at boot ...