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
9 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 ...
1
vote
0answers
5 views

node version outdated [duplicate]

I am trying to install Yeoman in my machine but i am getting the error node outdated,when i checked my versions i got this. node --version && npm --version v0.10.37 1.4.28 if my versions ...
0
votes
0answers
8 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 ...
2
votes
1answer
19 views

Node modules installed but not available

I am new to Linux environment and right now learning node.js Following the tutorial i installed node module express globally as shown in below screenshot But when i am trying to use express in ...
-1
votes
0answers
19 views

Considering Package Node with Ubuntu [duplicate]

How to I submit for Ubuntu to start packaging nodejs with Ubuntu?
2
votes
2answers
23 views

Set different domain name on different port

I am new in Ubuntu. I have created my website in node. where I am using different port for different modules. like http://localhost:5555/ this is for admin, http://localhost:5050/ this is for ...
-1
votes
0answers
87 views

Can't install node js module ws

I want to install oagr ,but when i install the ws,i get these error. utf-8-validate@1.1.0 install /root/node_modules/ws/node_modules/utf-8-validate node-gyp rebuild bufferutil@1.1.0 install ...
0
votes
2answers
46 views

The program can be found in the following packages

When i write mvn command in Terminal i get this message: The program 'mvn' can be found in the following packages: * maven * maven2 Try: sudo apt-get install <selected package> I also get ...
0
votes
1answer
22 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 ...
2
votes
2answers
98 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
34 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
31 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
31 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 ...
2
votes
1answer
766 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
37 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
42 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
53 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
105 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
33 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
65 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
178 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
51 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
1answer
97 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
61 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
282 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
152 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
101 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
37 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 ...
4
votes
2answers
901 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
61 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 ...
1
vote
2answers
984 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
180 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
122 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
47 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
444 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
8k 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
265 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
139 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 ...
5
votes
3answers
4k 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
59 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
26 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
25 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
3k 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 ...
8
votes
5answers
15k 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
576 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
267 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
185 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 ...