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

learn more… | top users | synonyms

3
votes
1answer
243 views

Will Node.js affect my LAMP server installation?

I've installed LAMP server with this command. sudo apt-get install lamp-server^ Now I'm wishing to install Node.js. Will it make any affect on my previous LAMP installation ?
1
vote
0answers
8 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 ...
-2
votes
0answers
22 views

Install node js for less

I am trying to install less compiler in my Ubuntu 14.04. I have tried several times but there is some problems .At first I had remove node from my computer. It is showing as a broken package. I tried ...
0
votes
1answer
16 views

While writing npm install learnyounode -g on terminal? 12.04 LTS

~$ npm install learnyounode -g npm ERR! registry error parsing json npm ERR! SyntaxError: Unexpected token < npm ERR! <!DOCTYPE html PUBLIC"-//W3C//DTD XHTML 1.0 ...
0
votes
1answer
35 views

grunt-cli dont work

I have wasted 2 days on this already and i do not get it... so i have latest stable node.js, it works, npm works, nvc works. but when i try to install grunt i install grunt-cli, i instal grunt in ...
1
vote
0answers
49 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 ...
0
votes
2answers
26 views

Not able to find the pages after running Node server on Ubuntu

I am not able to get the pages even if my node server is also running.Please take a look on the below snap shot. After running the server when i typed the ip address and port number i.e-8888 in ...
0
votes
0answers
12 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
6 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
16 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
29 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 ...
2
votes
2answers
47 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 ...
0
votes
2answers
124 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
42 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
150 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
56 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
59 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
40 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
944 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
42 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
54 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
60 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 ...
1
vote
2answers
152 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
41 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
92 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
259 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
55 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
126 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
64 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
292 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
201 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
122 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
41 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
1k 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
63 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 ...
2
votes
2answers
1k 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
210 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
144 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
55 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
523 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 ...
3
votes
3answers
14k 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
349 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
165 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 ...
6
votes
3answers
6k 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
67 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
2k 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
26 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
59 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 ?