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

learn more… | top users | synonyms

1
vote
2answers
43 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 ...
0
votes
0answers
84 views

Issue using Node.js / Express, Says it's not installed

I am having the same issue this this person had. npm installed packages are not accessible Where the command "express nodepad" does not work. It give an error that "The program 'express' is ...
3
votes
2answers
177 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 ...
12
votes
4answers
5k 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
1answer
27 views

Running a service ignores environment variables

I have a /ect/init/application.conf file that looks something like... start on filesystem and net-device-up IFACE!=lo stop on runlevel [016] respawn export NODE_ENV=production chdir ...
2
votes
0answers
82 views

Problem with Node.js installation

I am very new to Linux so my question may seem stupid however I cannot install Node.js and npm software successfully. More precisely, the installation is completed but when I am trying to run some ...
0
votes
1answer
24 views

Ehterpad configure script not finding the existing dir given via prefix option

I am following the official ubuntu guide to install etherpad from here. When it asks to download and extract the latest version of etherpad, I do so. The version I downloaded is node-v0.10.26.tar.gz. ...
3
votes
4answers
4k views

npm breaks after updating nodejs to 0.10

I am on 12.04LTS. I updated my system today and in that process nodejs got updated. Now my npm has stopped working. For e.g: $ npm install express npm http GET ...
2
votes
2answers
4k views

Cannot install nodejs and 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 ...
0
votes
1answer
169 views

npm completion broken

I'm running npm 1.2.18 and node v0.10.15. npm completion is broken. If I try to tab complete with npm or if I run npm completion, it displays: npm ERR! System Linux 3.11.0-14-generic npm ERR! ...
1
vote
2answers
37 views

How can I install the development version of Node?

I want to get the latest updates for Node (evented I/O for v8 javascript). I already have installed Node using: sudo apt-get install -y python-software-properties python g++ make sudo ...
2
votes
1answer
90 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 ...
3
votes
3answers
4k 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: ...
14
votes
1answer
7k 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 ...
1
vote
1answer
107 views

How can I be careful installing node.js via apt?

I want to install EtherPad on my Ubuntu Server. The Etherpad installation instructions say: Additionally, you'll need node.js installed, Ideally the latest stable version, be careful of ...
0
votes
0answers
78 views

Node.js application is not working ARM Ubuntu

I use a Samsung ARM Chromebook as a dev machine, and as a result Node.js is absolutely essential. In the past I've had no issues with it whatsoever. However, due to unfortunate circumstances I was ...
2
votes
1answer
120 views

Deploying a Node.js app using Juju

A little background. We are attempting to improve the deployment flow of our Node.js application, and decided to investigate Juju. I am attempting to deploy a small practice express app (which does ...
1
vote
0answers
82 views

Forever cannot be installed

While trying to install Forever using this command: sudo npm -g install forever I'm getting this error: npm WARN engine hawk@0.10.2: wanted: {"node":"0.8.x"} (current: ...
0
votes
1answer
194 views

I'm trying to install nodejs-legacy and it keeps failing [duplicate]

I have no idea what the problem is, but I keep trying to install nodejs-legacy by running sudo apt-get install, but it keeps failing. Here's all of the output when I try to do the command. Reading ...
0
votes
2answers
699 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 ...
0
votes
1answer
157 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 ...
1
vote
1answer
143 views

Node.js NVM causes Xubuntu login loop with ~/.profile line

There are various posts on the Xubuntu login loop, but none of them address NVM (Node Version Manager). I have installed NodeJS via NVM on my Xubuntu VM and it works fine, however after rebooting, I ...
0
votes
1answer
178 views

Install custom version of node with apt-get

I've installed nodejs this way: sudo apt-get install python-software-properties python g++ make sudo add-apt-repository ppa:chris-lea/node.js sudo apt-get update sudo apt-get install nodejs The ...
0
votes
1answer
20 views

Nodes.org install sur local src node

I am installing nodes the command sudo ./configure is ok but when I type next command menudo make I got an error g++ and 127 . How could I resolve them to finish the nodes installation
0
votes
1answer
172 views

Nodejs app is starting everyday and eating up memory

I was trying to run ghost node.js application on my ubuntu server. Since I am mostly experimenting with linux systems I have tried a bunch of things and finally managed to make ghost run on server ...
4
votes
2answers
1k views

NVM Command Not Found

I am trying to install node version manager and followed the installation instructions provided at its Github page. Installation got over but now I am getting an error as command not found: nvm when ...
2
votes
0answers
31 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 .
0
votes
1answer
367 views

npm installed packages are not accessible

I installed nodejs with the instructions from this post on ubuntu 13.1 All went smooth. After that I installed express by issuing the command npm install express which result in express@3.4.4 ...
0
votes
1answer
234 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 ...
1
vote
1answer
86 views

Multiple possible interpreters in a shebang?

Trying to learn me some nodejs, I installed npm and the learnyounode module. Unfortunately, learnyounode tries to execute #!/usr/bin/env node and not #!/usr/bin/env nodejs -- as we have it setup in ...
0
votes
0answers
51 views

Node-hid doesn't see a Xbox controller - Ubuntu 12.04.03

I am trying to get node-hid to display information information on an Xbox controller. It can display info on other hid devices such as a mouse just fine but when I run the below code with an Xbox ...
1
vote
0answers
30 views

How can I stop a process from moving to the background?

I have a machine running Ubuntu server version 12.04.3 LTS. On it, I'm attempting to run a node.js server that needs to stay up and running at all times. I'm running into an issue, however, where ...
0
votes
1answer
115 views

After installing coffee script the coffee command is found but does nothing

I just installed coffe script with NPM (sudo npm install -g coffee-script) When I type coffee into my terminal nothing happens. The command is found but does not show any reaction. Does anyone know ...
0
votes
0answers
95 views

How can I install older version of node-less

I need version 1.3.3 of node-less. I've tried to force an older version using Synaptic Package manager, but no earlier versions are available. If I attempt to install less via npm, it results in ...
0
votes
1answer
381 views

Firewall blocking mySQL port

I am trying to connect to mysql through node.js program but it throwing an error. I am not able to connect to mysql on port 3306. I already have apache installed on my PC. I have tried ...
0
votes
0answers
50 views

node symlink wrong after upgrade

I recently upgraded my node install and while nodejs shows version v0.10.20 the symlink (node in /usr/bin/node) is still reporting version as v0.10.18 I tried removing and re-adding the symlink but ...
0
votes
0answers
178 views

Opening port 3000 EC2 Amazon web services

I am trying to use nodejs and socket.io to deliver a webapp, which use websocket on port 3000. I have opened port 3000 on my EC2 instance in my management console by adding the inbound TCP rule to ...
1
vote
3answers
2k views

Problem: “npm ERR! cb() never called! npm ERR! not ok code 0” when installing etherpad

on an Ubuntu 12.04.3: adduser --system --home=/var/www/etherpad --group etherpad apt-get install gzip git-core curl python libssl-dev build-essential abiword python-software-properties ...
4
votes
2answers
3k 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 ...
1
vote
1answer
51 views

How can I create charm on one node

Firstly I generation nodejs file on the node without charm then my boss said we need charm for generation. I need in this charm QT5, NODEjs, Berkeley db, g++ with gcc but I don't know how create ...
5
votes
1answer
1k 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
1answer
239 views

How to run mongodb with my username instead of default user mongodb

I want to run mongodb service by my defined username and group instead of using mongodb user. How can i change from mongodb user to mydesiredusername?
1
vote
2answers
1k views

NPM wont work because of my wrong node version

The error is: Error: npm doesn't work with node v0.5.11-pre Required: node@>=0.6 But I'v just updated my node. That is confusing. I'v made some digging and it seems that I've installed node two ...
-1
votes
2answers
538 views

What to do with tar.gz [duplicate]

I am quite new to Ubuntu and I am trying to install node.js on 12.04. I have the source code in a tar.gz. I am not sure what I need to do with this file. I guess I need to extract it but is there a ...
0
votes
1answer
308 views

Upstart and Node js: Cannot find module

I'm trying to setup upstart to run with my Node js and Socket.io server. /etc/init/quizens.conf env NODE_BIN=/usr/bin/node env APP_DIR=/root/quizens env SCRIPT_FILE="quizens.js" env ...
0
votes
1answer
99 views

Is there a standard installation location for scripts?

I'm deploying a bunch of python scripts to my build, test and soon production server. It can be nodejs or any other thing I want to run under nginx so the location should be generic rather than ...
0
votes
0answers
135 views

Upstart runs node.js app but function is not working properly

I don't know much about upstart. This script is copy from a tutorial blog and it does its job just fine. I have a node.js app that sits in dormant until it was triggered by users' request. The ...
2
votes
2answers
2k views

NVM Command Not Found Issue [duplicate]

Attempted to add to this question: NVM Command Not Found, however wasn't able to. After installing nvm im having the same issue, here is the log from terminal: Michael-iMac:~ michaels_imac$ curl ...
1
vote
1answer
2k 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
0answers
74 views

Jade Iterations and variables

I'm trying to learn jade using express on nodejs. I'm passing an array of objects to the index by res.render('index', { title : '**' , skills : [ { type: '**', desc: '**' } ...