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
18 views

Karma start not working

Server Ubuntu 14.04 root@ip-10-47-171-203:/home/jenkins/jobs/UITest/workspace/project_name/src/main# karma start module.js:340 throw err; ^ Error: Cannot find module './reporters/multi' at ...
1
vote
1answer
45 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
14 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 ...
1
vote
2answers
30 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?
2
votes
2answers
57 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 ...
14
votes
1answer
9k 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
0answers
48 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 ...
0
votes
1answer
403 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
29 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 ...
1
vote
1answer
65 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
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
3answers
72 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 ...
1
vote
0answers
75 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
41 views

ubuntu thinks node is missing?

When I start a terminal on my laptop, it shows this on starting up: No command 'Node' found, did you mean: Command 'ode' from package 'plotutils' (universe) Command 'node' from package 'node' ...
0
votes
0answers
37 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 ...
4
votes
2answers
7k 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 ...
2
votes
1answer
55 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 ...
1
vote
2answers
450 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 ...
7
votes
3answers
2k 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 ...
-1
votes
1answer
214 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 ...
15
votes
4answers
9k 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
54 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
287 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
143 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 ...
5
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
317 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
27 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
224 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 ...
1
vote
2answers
160 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 ...
5
votes
3answers
8k 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
64 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 ...
0
votes
0answers
13 views

error in installation of npm [duplicate]

i have installed NPM using the following command apt-get install npm using repo apt-add-repository ppa:chris-lea/node.js when i pass the command it gives error apt-get install npm Reading ...
1
vote
0answers
214 views

NodeJS Hangs on Ubuntu 14.04 Boot [Big CPU & Memory usage]

Node somehow hangs on Ubuntu 14.04 boot. It uses lots of CPU and RAM (Checked with Terminal -> top). I need to have root permissions to kill it and it doesn't work after the first time. Had to spam ...
1
vote
1answer
580 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 ...
0
votes
1answer
86 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
338 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
38 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 ...
1
vote
1answer
323 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
65 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
211 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
9k 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
206 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
124 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
182 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
122 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
2k 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
2k 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
492 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
181 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 ...