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
2answers
56 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 ...
1
vote
2answers
781 views

Installing node with apt-get or downloading the Linux Binaries (.tar.gz)

What is the difference between installing node.js with 'sudo apt-get install nodejs' or downloading the Linux Binaries (.tar.gz) and following these instructions? Is the outcome the same?
1
vote
1answer
32 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 ...
3
votes
2answers
875 views

Why doesn't JSLint/JSHint work in Ubuntu?

I installed as described here and other places, but after using npm to install jslint, jshint, neither will work. Running "jslint", I only get: /usr/bin/env: node: No such file or directory Is ...
0
votes
1answer
33 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
36 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
132 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
62 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 ...
1
vote
2answers
1k views

Having trouble to find the node in ubuntu 14.04 after installing

I installed the NodeJS in Ubuntu 14.04 by nvm by following this site Installing NodeJS Though I had the following problem as nvm ls sbin mkdir: cannot create directory ‘/usr/sbin/alias’: ...
0
votes
1answer
30 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 ...
0
votes
1answer
24 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.
7
votes
4answers
8k views

Checking version of nodejs returns nothing

I'm trying to install node js onto Ubuntu so that I can run AngularJS. I'm not sure if I've installed it before so I ran sudo-apt get install node and once that is done I then run node --version but ...
15
votes
4answers
11k views

How can I update my nodeJS to the latest version?

I have installed nodeJS on Ubuntu with following code sudo apt-get install nodejs Since I am a new user for ubuntu I also ran this code too sudo apt-get install npm Now when I type nodejs ...
0
votes
1answer
133 views

Creating a Nodejs chat application

I am creating a nodejs chat application, and I am in the process of setting up the environment. My OS is Ubuntu 14.04. I could understand that I need nodejs and socket.io to be installed on my PC ...
5
votes
2answers
9k views

Ubuntu / Install NodeJS & npm

I'm trying to install nodejs and npm, however, it fails. This is my terminal: sudo apt-get install nodejs npm Reading package lists... Done Building dependency tree Reading state information... Done ...
3
votes
1answer
180 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 ...
0
votes
0answers
36 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 ...
4
votes
3answers
12k views

Installing Grunt js on 13.04

How does one install grunt on Ubuntu 13.04? I've attempted to install it via NPM: sudo npm install -g grunt Then when i run grunt: grunt But it doesn't seem to work it throws an error: ...
1
vote
1answer
197 views

How can I get jshint to work?

I installed jshint using sudo npm install -g jshint, and it seems to have worked: $which jshint /usr/local/bin/jshint Yet running jshint or its full path equivalent doesn't seem to do anything. It ...
1
vote
1answer
504 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: ...
2
votes
2answers
2k views

less css and and node js troubles

When I try to install less css compiler under my Ubuntu 13.10 box I get following message and lescss don't working. In what way I can fix the problem? I execute: sudo npm install -g less After ...
2
votes
2answers
2k views

Node executables not doing anything

I have some node executables installed on an Ubuntu server but whenever I try to execute them nothing happens. I don't even get an error message. I know they're in my path because which ...
0
votes
0answers
264 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
91 views

Do I need to install a LAMP server to run nodejs?

Using Ubuntu 14.04 - I am trying to control an AR Drone Parrott using nodejs. My question is: Can I run nodejs without installing the LAMP packages? On a netbook running UBUNTU 14.04 I have installed ...
2
votes
3answers
4k views

node: command not found

I don't understand why the node command will not work, whereas nodejs works: $ node --version zsh: command not found: node $ nodejs --version v0.10.15 I tried apt-get install nodejs, but the latest ...
1
vote
2answers
744 views

Trying to install nodejs but failing

I am trying to install nodejs but it is repeatedly failing. Attached is the log $ sudo apt-get install nodejs Reading package lists... Done Building dependency tree Reading state ...
2
votes
1answer
2k views

Trying to install yeoman on ubuntu to use with nodejs and npm

Using Ubuntu 13.10 I am trying to install yeoman using sudo npm install -g yo but it doesn't seem to work globally both npm and nodejs are installed, however, I am not sure that they are installed ...
1
vote
1answer
3k views

Unable to execute binary file. Exec format error

I recently heard about Breach, a Node.js based browser. I was following the instructions on http://codeforgeek.com/2014/08/download-install-breach-browser-ubuntu-14-04/ to install it but got the ...
0
votes
0answers
109 views

Install Node on Ubuntu 14.04 1and1 Virtual Server

I have a Virtual Server from 1and1 running Ubuntu 14.04. After correcting the /etc/apt/sources.list to the official ones I tried to install nodejs and npm (to install bower later). I followed the ...
2
votes
2answers
111 views

installing a script in $PATH

I am trying to use yeoman in Ubuntu. Everything is installed correctly but I can't use the command yo from bash. If I navigate to the appropriate directory and run node cli.js everything works from ...
15
votes
1answer
10k views

Installing the latest Node.js / MongoDB?

How can I install Node.js and MongoDB so they are the most current versions? The available versions from package manager are not up to date, and PPA from Chris Lea for Node.js doesn't get updated on ...
0
votes
1answer
1k views

node.js app runs from command line but gives errors when run from cron job on reboot on ubuntu 14.04 LTS

When starting my app manually using forever, it works fine. It runs on localhost:8080 and nginx does the routing. When using a cronjob my starter.sh script runs but in the forever log I get an error. ...
0
votes
2answers
78 views

Developing NodeJS for Ubuntu Touch:

I'm new here and interested in developing apps for Ubuntu Touch. Already got the developer version running on a tablet model P3110. What I'd like to know is if it's compatible with NodeJS or if it's ...
2
votes
1answer
473 views

NodeJS install issues

Whenever I need to use NodeJS I'm always tired of a bunch of problems. At the moment I need to use closurecompiler nodejs module and try to install it and nodejs. It turns me following errors. How do ...
1
vote
1answer
3k views

How to set-up Nginx correctly? “Welcome to nginx” is not displayed

I installed Nginx on my Ubuntu Server 12.10 using this instructions https://www.digitalocean.com/community/articles/how-to-install-nginx-on-ubuntu-12-04-lts-precise-pangolin , the Nginx was installed ...
0
votes
3answers
385 views

How to run a Phantomjs server with an upstart script?

I have phantomjs installed and I want to run a phantom server whenever the (Ubuntu) server starts. I am currently working locally on Ubuntu 14.04, and the server this will be deployed to is also ...
0
votes
0answers
331 views

How to install IBM DB2 drivers on Ubuntu

I need assistance installing IBM DB2 drivers onto Ubuntu. Using Ubuntu 14.04, I'm attempting to create a simple web page that gets served by the node.js server-side framework. A ...
2
votes
1answer
88 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 ...
0
votes
1answer
2k views

alias of nodejs as node on 14.04

i installed nodejs with apt-get on 14.04 When i do nodejs -v v0.10.25 and when i do node -v node : command not found. So i want to make alias of nodejs as node So i inserted a line in ...
16
votes
4answers
13k views

node.js conflicts: /sbin/node vs /usr/bin/node

I have two Ubuntu 12.10 machines: machine A is a VMWare VM and machine B is and old Acer laptop. On both machines, I installed node using apt-get. However machine A installs the main binary as ...
0
votes
0answers
100 views

Where does node.js install to?

I'm trying to install a script, which is a clone of a game, and uses node.js for it. Now, the documentation says I should copy the node.exe (windows) and put it where the clone is. Now, I can't find ...
1
vote
0answers
490 views

Getting “mkdir: cannot create directory…” while installing & using NVM/Node.js commands

Please bare with me, not a Linux wiz (unfortunately). Anyways, I have a freshly installed 14.04 LTS version of Linux, onto which I recently installed NVM & Node.js. I did so by entering the next ...
1
vote
2answers
610 views

Nodejs Installation

I have installed node.js and the version is 0.6.12. I am trying to update it but the efforts are in vain. Even though i have installed the latest version the Terminal still shows the version as 0.6.12 ...
6
votes
2answers
2k views

LESS CSS compilers returning blank

I am not even sure where to start debugging this. Months ago, I could happily compile my CSS from my LESS files. Today, I run either recess --compile test.less or lessc test.less and I just get a ...
0
votes
0answers
527 views

module: graceful-fs : npm ERR! install Couldn't read dependencies

1) Just built a freshly installed Ubunto 14.04 VM. 2) Followed instructions at http://askubuntu.com/a/83290 3) Followed instructions at https://www.npmjs.org/package/generator-sili 4) Getting error - ...
0
votes
0answers
36 views

Most secure way to install node?

Should I install node as root and then add user permissions to run it, or add a sudo user to the sudoers file and install and run it that way? It seems to me that adding the user to sudo would be a ...
0
votes
0answers
476 views

Nginx Load-Balacing node.js, SSL Not Working

I'm running 12.04 and using Nginx to load-balance node.js and I'm having an issue getting SSL to work. The Problem Using the configuration below, when I send any requests via https I get no response ...
2
votes
2answers
2k views

couldn't install npm on ubuntu

Tried to install nodejs and npm on ubuntu 12.04. I googled and did it. Now, I could not install npm on machine. sudo apt-get install npm Which gives me this The following packages have unmet ...
6
votes
3answers
11k views

“No such file or directory” error while using npm

I installed node and npm using the instructions provided here I was able to use node successfully. However, as I attempt to install the "Formidable" node module, I get the following error: $npm ...
0
votes
1answer
188 views

How can I keep something running but run other terminal commands? [duplicate]

I'm sure this is a really stupid question and it's probably already been asked a dozen times on this site, and I just don't know which keywords to search. I'm still really new to managing a server and ...