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
0answers
6 views

configure two LAN cards on a local server and access a locally hosted web app on LAN and on internet

I have a ubuntu 14.04 LTS machine running as local server (I have a web app running on it). I have two questions as below. 1] How to configure two LAN cards on the above server ? 2] After ...
0
votes
0answers
11 views

npm -v return Segmentation fault

nodejs, npm works fine before. When I try to upgrade it sudo npm cache clean -f sudo npm install -g n sudo n stable And type npm -v, it throw "Segmentation fault". I restart system and I type a ...
0
votes
0answers
18 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
1answer
18 views

Node “Not a dynamic executable”

I'm running 14.04 on Linode and tried following these instructions to install NVM and then node. I can get NVM running just fine but installing Node results in cryptic "file not found" messages when I ...
0
votes
0answers
22 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 ...
1
vote
1answer
392 views

“yo” (Node/Javascript module) installation failed

i have been trying to install yo, but keep getting this errors, anyone please help. root@ubuntu:/opt/hubot# npm install -g yo \ > spawn-sync@1.0.11 postinstall ...
0
votes
1answer
29 views

How to make an installer script for ubuntu/fedora [closed]

I am new to shell scripting. I need to install an application on the planetlab. I need to make an installer for that application. Here is the code which I wrote.But the problem is that it is not ...
0
votes
0answers
29 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 ...
5
votes
0answers
48 views

Having trouble following node.js juju docs

I'm trying to follow the docs here: https://jujucharms.com/docs/devel/howto-node And am running into an issue with this line: juju deploy --config myapp.yaml node-app myapp I've created a ...
1
vote
2answers
48 views

How to remove nodejs from nodesource.com?

I have installed nodejs from nodesource.com: curl -sL https://deb.nodesource.com/setup_0.12 | sudo bash - sudo apt-get install nodejs It installed nodejs 0.12.4, but how can i remove it now ...
1
vote
1answer
29 views

Problem with JSLint

I've been trying to get jslint to run on my system but have failed. I went with the npm route and simply ran sudo npm install -g jslint I'm using the nodejs package not node-legacy. I also made a ...
1
vote
1answer
40 views

Node Package Manager got corrupted in some way, now it cannot be installed

I ran into a problem today when I decided to use npm update -g in a nodejs app directory. This was a bad decision, because it caused me to run into a common and disastrous problem with npm. The ...
0
votes
1answer
104 views

Error with Node and Gulp

I am trying to install paperwork, and while following https://github.com/twostairs/paperwork/wiki/Installing-Paperwork-on-Ubuntu-14.10 I got near the very end when I get this. :/var/log/nginx# ...
0
votes
0answers
39 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
19 views

Keeping MongoDB, MySql data in different partition

I am creating a ubuntu server 14.04 virtual machine and attached an empty disk to it. I have installed nodejs and mongoDB. I want to store all my mongoDB data in that empty partion.
0
votes
1answer
58 views

npm install -g not working

I'm trying to run node.js tutorials from NodeSchool, I've run the following commands: curl -sL https://deb.nodesource.com/setup | sudo bash - sudo apt-get install nodejs sudo apt-get install ...
0
votes
1answer
56 views

Installing nodejs ubuntu on 14.04

Many misleading sources, nothing works cleanly on my side. Installing from source ? Any tips on this one ?
1
vote
1answer
273 views

Does updating Ubuntu 14.04 to 15.04 affect packages that I have previously installed?

I would like to update Ubuntu 14.04 to 15.04, but I am currently working on a project using NodeJS. Specifically, I am using Nodecopter to make autonomous control for an AR.Drone 2.0. I am worried ...
1
vote
1answer
89 views

cordova install on ubuntu 14 doesn't seem to be working

I'm following the instructions found here to install cordova on ubuntu: http://cordova.apache.org/docs/en/4.0.0//guide_cli_index.md.html#The%20Command-Line%20Interface So far, I've run the ...
0
votes
0answers
74 views

Is there a way to install jHipster on Ubuntu 14.04?

Can you give an advise is it possible to install jHipster on Ubuntu 14.04? Yesterday I try to do this by following regular routine on the jHipster site but got a lot of errors. After I start to ...
0
votes
0answers
30 views

Web service only responding to local request

I have a webservice that listen on port 5678 on a remote ubuntu machine. netstats: tcp 0 0 0.0.0.0:5678 0.0.0.0:* LISTEN 10605/node I don't have any ...
3
votes
1answer
449 views

Command not found when executing node.js n package on sudo

I'm trying to update my version of node to the latest stable. Using this resource I was able to: sudo npm install n -g But when I try sudo npm n stable I get: sudo: n: command not found If I ...
0
votes
0answers
44 views

Hostapd with localhost server

I have hostapd and isc-dhcp-server working on my linux 14.04 box. My WiFi devices can find the hotspot and are assigned an ipaddress. At this point there is no connection through to eth0. I also have ...
0
votes
1answer
656 views

E: Unable to locate package mongodb-org

I am trying to install mongodb on ubuntu 14.04 and I am following the steps on docs.mongodb.org But when I get to the step: sudo apt-get install -y mongodb-org I get the following error : ...
0
votes
2answers
142 views

Can't update npm version EACCES --> npm update -g

I’m and trying to update my Node and npm version on the latest Ubuntu, but I’m stuck. I tried every solution I found on the Internet — changing permissions, complete uninstall and reinstall — but ...
0
votes
1answer
78 views

How to zero downtime restart nginx server

How to send HUP signal and zero downtime restart nginx server using Node.js file
0
votes
0answers
36 views

checking Server load in node.js

I have to calculate number of requests for a server in node.js and based on the load i have to spawn a new server. I have used a function with parameters port number and server name to create servers ...
0
votes
1answer
367 views

Installing Cloud9 on Ubuntu 14.04 - Cannot find module

I am trying to install Cloud9 IDE on my own Ubuntu server, following these instructions. So what I have done essentially so far is cloning the project in my system, installing nodejs-legacy (C9 ...
0
votes
2answers
4k 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
3answers
193 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 ...
0
votes
2answers
116 views

npm unresponsive after nodejs install on fresh Ubuntu 12.04.5

Here's where I'm at... I have an old chromebook that I put Ubuntu (and Xfce) on via crouton. After installing the chromium browser, I installed nodejs via apt-get. I found that when trying to install ...
2
votes
3answers
3k 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 ...
1
vote
1answer
53 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
23 views

Cannot find NodeJS in softwarecentre of Ubuntu

I installed on an old pc Ubuntu desktop for testing Node.JS. According description in Desktop for developers: All the tools developers need Whether your team uses Python, Ruby, Node.js or Java, ...
0
votes
1answer
1k views

installing node.js not working

I'm trying to install node.js on ubuntu 14.10 I do not want to use the ubuntu package but the latest stable version of node - v0.10.36 so I have installed pvm and have installed node v0.10.36 so far ...
0
votes
0answers
24 views

Connect my computer with ubuntu server

I'm trying to connect my windows PC with an Ubuntu server that runs in the same PC but in VirtualBox. I'm working with node.js, so if I press some button in my app in windows, some command will be ...
4
votes
1answer
2k 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 ...
0
votes
1answer
57 views

Cant find nodejs on Debian [closed]

I install nodejs to Debian. But I cant find it in /usr/bin/nodejs. I try to search but have the same result. nodejs -v v0.10.35 Where I can find nodejs file ?
1
vote
1answer
2k views

Completely uninstall Nodejs, npm and node_modules

so my Node and npm settings are currently messed up beyond repair( or so I think). What I would like to do is to completely remove all of it and start from scratch. What I have done till now can be ...
6
votes
4answers
11k 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 ...
2
votes
1answer
545 views

Slap Editor Installation problem, (sudo: npm: command not found) [duplicate]

I'm installing Slap Editor on Ubuntu 14.04 and when I type sudo npm install -g slap its giving me the error sudo: npm: command not found . the node version on my system is 0.10.33 and the npm version ...
0
votes
2answers
204 views

How to open Node.js command line in ubuntu?

I have completed installed Ruby on Rails on my ubuntu system. I have installed Node.js of version v0.10.33. I have try to search the node.js command prompt but not found. May anybody help me how to ...
0
votes
3answers
144 views

How do i display complete log in terminal

I have been banging my head around this one, I am trying to debug a nodejs application and my terminal is not displaying the entire list of errors, it is stuck at the top part as show in the image and ...
0
votes
1answer
472 views

Ubuntu 14.04: Installation of `vega` package of `npmjs`

I need to install vega package of npmjs (See here). But $ sudo npm -g install vega throws the following errors. Any help will be highly appreciated. Thanks in advance for your help. $ sudo apt-get ...
0
votes
1answer
316 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
253 views

14.04 Live USB stick can't install nodejs

I'm running Ubuntu 14.04 on a USB stick, and I'm trying to get my Ruby on Rails dev environment setup. I'm having trouble installing nodejs. I used the method: sudo add-apt-repository ...
1
vote
1answer
253 views

Is there a way to integrate Node.js into the kernel core so that the system has this node running as a module.?

I want to integrate node.js into the kernel as a module. So that i could develop a common html+js+css app as a desktop app. How can this be done ? It would be nice if ubuntu had this feature.
0
votes
0answers
65 views

How to connect Node js Application with the dedicated ubuntu server?

I have a working Appication With nodejs and total js. it work fine on localhost Project I want to know what steps i want to follow to App run with brandnew dedicated ubuntu server. only know ...
3
votes
1answer
735 views

Node.js websocket error “Error: listen EADDRNOTAVAIL Error: listen EADDRNOTAVAIL”

Application work fine on localhost but when it's connected to the server, it is giving the next error. Error: listen EADDRNOTAVAIL Error: listen EADDRNOTAVAIL at errnoException (net.js:904:11) at ...
1
vote
1answer
3k views

Why does node.js need administrative permissions to access my windows share even though the share's premission is 0777

I have Ubuntu 14.04 running as a VMware guest on my Windows 8.1 host. I have shared a folder on my Windows Host and it is mounted in the Ubuntu guest on startup using this entry in fstab: ...