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

learn more… | top users | synonyms

6
votes
1answer
87 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 ...
2
votes
1answer
252 views

Installing npm /nodejson ubuntu

sudo apt-get install npm then I get this: The following packages have unmet dependencies: npm : Depends: nodejs but it is not going to be installed Depends: node-abbrev (>= ...
2
votes
1answer
255 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 ...
2
votes
1answer
383 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 ...
1
vote
1answer
107 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
20 views

How many ports opened by a single application

I am writing a program in nodejs that will be firing number of calls to an api. I need to limit number of requests to 100 at a time. I have finished writing the application, but how can I check in ...
0
votes
1answer
27 views

How to install latest node inside a docker container

How do I install the latest node inside a docker ubuntu 15.10 container? apt-get install nodejs installs version 0.1 and no npm Thanks
0
votes
1answer
28 views

Working with Nodejs + MSSQL at Ubuntu

I've my nodejs app connected to MSSQL server, worked perfectly in my Windows laptop, sing mssql@npm The same app is not able to see the database in my Ubuntu laptop. I defined the mssql connectivity ...
0
votes
1answer
54 views

Need help fixing Segmentation Fault

I'm still fairly new to linux and find myself making annoying noob mistakes. Yet, still loving the experience so what does that really say about me? I ran into an interesting problem that I'm not ...
0
votes
1answer
186 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
153 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 ...
0
votes
1answer
512 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
1answer
559 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
1answer
92 views

Installing nodejs ubuntu on 14.04

Many misleading sources, nothing works cleanly on my side. Installing from source ? Any tips on this one ?
0
votes
1answer
944 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
1answer
2k 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
1answer
232 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
471 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
2k 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
698 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
25 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
181 views

which application is needed to read genesis rom files

I had downloaded node.js in my ubuntu 11.10. When i had unzipped and pretend to open README.md, it prompts me that ' there is no application installed for genesis rom files. Please help me by sharing ...
3
votes
0answers
113 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 .
2
votes
0answers
71 views

npm --version is different if use sudo npm --version

I have just upgraded nodejs in my machine. I uninstalled the node version (the one in ubuntu repositories) that I had. Then I installed nvm and installed nodejs 4.2.2. Everything goes without ...
1
vote
0answers
19 views

Access nodejs application port from external IP

I have an application with port 9901 and hosted in online server. If i check this application from the same server with http://127.0.0.1:9901/ or http://127.0.0.1:9901/ the application is run ...
1
vote
0answers
27 views

How do you troubleshoot a node-app app with haproxy?

I've got what appears to be an almost-functioning install of my node app within an Ubuntu Trusty MAAS rig with Juju on a private network (which doesn't need to be published). I'm using juju-gui so ...
1
vote
0answers
56 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 ...
1
vote
0answers
344 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 ...
1
vote
0answers
91 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 ...
1
vote
0answers
2k 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 ...
0
votes
0answers
33 views

On a chroot Ubuntu system how can I install ws?

I have a chromebook with a Precise Ubuntu chroot on it. I try to install npm using sudo apt-get install npm and that works. However, when I try to install ws using npm install --save ws It ...
0
votes
0answers
16 views

Nodejs + lamp setup on dedicated server

I am working in a project which needs nodejs + lamp server which will be installed on a dedicated Server running ubuntu Server. I know that they won't interferrior each other AS long as I don't mess ...
0
votes
0answers
34 views

how to retrieving deleted npm binary?

I accidentally deleted all the content from /usr/local/lib/node_modules, it has npm folder which is necessary for dependency resolution in Nodejs. Now when i run npm command on terminal it gives me ...
0
votes
0answers
72 views

How to run this node.js mqtt broker in the background all the time?

A stand-alone Node.js MQTT broker was installed successfully on Ubuntu 14.04 digitalocean cloud. I can run the MQTT broker binary (not node.js script) by running the command below; $ mosca -v | ...
0
votes
0answers
27 views

Package not found but exists

I decided to start use Gulp. To install it, apt-get required package 'curl' but there was some error with words 'not installable'. I don't remember, which one I had and which it needed, but I solved ...
0
votes
0answers
78 views

Debugging Upstart script for nodejs process

My Upstart script is as under. It looks long, but its mostly comments. If you can bear to read through it, then I get an error like .... typeerror: arguments to path.join must be strings... ...
0
votes
0answers
380 views

npm kerberos install issues

thanks for your time, this is the case, i have some problems when try to install kerberos nodejs package on my ubuntu 14.04 x64. This is the terminal output: khan@khan-Satellite-L645D:~$ npm install ...
0
votes
0answers
50 views

Why wont my symlink run node?

I've recently downloaded node and unpacked it to /usr/local/node. The executable can be found at /usr/local/node/node-v4.1.0-linux-x64/bin/node. I have create a symlink to the file at /usr/bin/node, ...
0
votes
0answers
75 views

Nodejs Don't work

Hi I am doing a csgojackpot website which is going to be based on a ubuntuserver, so far so good. But I have a problem with nodejs which the bot is using and trying to start it with a .bat file. Yes I ...
0
votes
0answers
99 views

What is difference between npm and nvm?

I want to install node.js in ubuntu 14. There are two ways - using npm and using nvm! Which is better or are they two different things? Thanks in advance!
0
votes
0answers
39 views

Setting up Varnish Cache with nodeJS

Goal: I'm trying to setup varnish on my Ubuntu webserver. I've read the docs and getting started stuff, doesn't look too complicated, however, I don't think my site is ever being cached by it. I am ...
0
votes
0answers
19 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 ...
0
votes
0answers
29 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 ...
0
votes
0answers
158 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
0answers
54 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 ...
0
votes
0answers
169 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 ...
0
votes
0answers
294 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
65 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 ...
0
votes
0answers
93 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 ...
0
votes
0answers
77 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 ...