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
votes
1answer
30 views

Installing nodejs on linux

Which is a better way to install nodejs? There are 2 methods that I know of. If there are any more that are better, please also let me know. Here is the first one: sudo apt-get install nodejs The ...
0
votes
0answers
10 views

Unable to install Node.js v0.12 on Linux Mint [closed]

I have tried this: curl -sL https://deb.nodesource.com/setup_0.12 | sudo bash - and I get this: curl: error while loading shared libraries: liblber-2.4.so.2: cannot open shared object file: No ...
0
votes
1answer
36 views

How to autostart node forever and use spawn() as sudo on Ubuntu?

My app periodically spawns a CasperJS scraper: spawn(CASPER_PATH, [SCRIPTS_PATH + fileName, '--ssl-protocol=any', '--user='+user, '--scrapeId='+scrapeId, '--pass='+pass], { ...
1
vote
0answers
22 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
1answer
461 views

How can I fix the “Cannot find module 'bplist-parser'” error with PhoneGap?

I've installed everything - node.js and then used npm to get PhoneGap. But then I get this error when I start PhoneGap: phonegap module.js:340 throw err; ^ Error: Cannot find ...
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
31 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
34 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
78 views

How to build electron?

Trying to build electron in Ubuntu 15.10. I get a problem with the npm package being out of date. Is there a ppa for a newer electron? $ npm install && npm start npm WARN engine hawk@3.1.2: ...
0
votes
2answers
108 views

Safe to remove /usr/local/bin/node?

In the past I installed Node.js. Now I tried updating it following this guide and ended up having two versions of it, node on version 0.10.7 and nodejs on version 0.12.7. To clear this up I wanted to ...
1
vote
2answers
76 views

Run Node.js as a Service on Ubuntu

I have installed the nodejs server on Ubuntu 14.04.2 LTS. Now I have to start its service automatically. manually starting its services working fine, but the issue is when closing the terminal its app ...
1
vote
1answer
80 views

How can I install node.js?

I have a chromebook with a Precise Ubuntu chroot on it. I can't figure out how to install the current node.js from the tarball, because ./install make sudo make install doesn't work.
0
votes
0answers
34 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
18 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 ...
1
vote
0answers
33 views

Ubuntu touch app with nodejs library [duplicate]

I want to write an application with the library in nodejs. Is there any way to connect QML or C++ with nodejs on ubuntu touch? Edit: I want to write a native application (in QML) and use a library ...
1
vote
1answer
88 views

Unable to update Node JS - keeps returning to old version [Ubuntu 15.04]

I'm unable to update nodejs, and I can't see why. If I were to make a guess, I'd say that I have two repositories listed in apt-get, that both contain a nodejs package. Here's what I've done: ...
0
votes
1answer
106 views

sudo apt-get install npm error

When I was about to install nodejs I successfully ran these two commands: sudo apt-get update sudo apt-get install nodejs However, when I ran sudo-apt-get install npm it gave me this list of ...
1
vote
3answers
242 views

Install Node.js in Ubuntu 14.04

I installed Node.js with: sudo apt-get install nodejs But when I type in a console node I get nothing, no command not found, no any error. But when I type nodejs I get the Node.js promt >. Now, ...
0
votes
1answer
71 views

Node.js Version Upgrade Ubuntu

I have Node.js Server running Node.js version 0.12.7 (express.js 4.x )on ubuntu server and MySql Server 5.6.22 (currently does not have any issue and working fine.) Node.js release version > 4.x . ...
1
vote
2answers
259 views

Cannot get nodejs 5.x installed on Ubuntu

Using the software manager it automatically installs a very old version, v0.10.25. I am following this instructions from this link: Node.js v5.x: NOTE: If you are using Ubuntu Precise or Debian ...
0
votes
0answers
36 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
74 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 | ...
2
votes
2answers
212 views

node & nodejs have different version

I successfully update/install the latest version of node js by using those commands (the official curl way not working for me) : sudo npm cache clean -f sudo npm install -g n sudo n stable sudo ln ...
0
votes
2answers
194 views

How to upgrade/install newest version of nodejs on Ubuntu 14.04

I have been working an hour for this. Taken from their official documentation : curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash - sudo apt-get install -y nodejs However, its never ...
2
votes
0answers
74 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 ...
2
votes
0answers
12 views

Link created to `nodejs` with `node` not working [duplicate]

I'm creating 3 VM's. I set up the first two with nodejs/npm but am having problems with the third. (Note: I realize cloning would have been far more expedient, but that's outside of scope of ...
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 ...
2
votes
1answer
269 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 (>= ...
0
votes
1answer
55 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 ...
2
votes
1answer
68 views

Nginx doesn't work on my VPS

The first idea was to set up a Node.js server on my VPS so I followed this article: Setup node js in production However in this article it is advised to use this command: sudo setcap ...
1
vote
0answers
28 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
1answer
255 views

Installation Error On npm

when I am installing npm after installing nodejs best@ubuntu:~$ sudo apt-get install npm Reading package lists... Done Building dependency tree Reading state information... Done Some packages ...
0
votes
0answers
85 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
3answers
184 views

Run node js server in ubuntu

I have tried so far installed node.js and npm via sudo apt-get install nodejs and sudo apt-get install npm . Then I tried typing node on bash nothing happens, I tried using node app.js nothing ...
4
votes
1answer
3k views

Unable to install latest NodeJS version on Ubuntu 14.04

On my server I have 0.10.25 "I do not need Rea's version, that is "0.10.30" which is the LTS for nodejs, however developers asking to install 4th version, after digging a little bit, I have found that ...
0
votes
0answers
387 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
51 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
80 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 ...
2
votes
1answer
858 views

npm installed binaries not available from command line

I tried installing babel-node via sudo npm install -g babel-node. The binary for babel-node seems to be available in /usr/local/lib/node_modules/node-babel/node_modules/.bin/babel-node, but this ...
0
votes
0answers
100 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!
36
votes
3answers
24k views

How to install NodeJS 4 on Ubuntu 15.04 64 bit edition?

How can I install NodeJS 4 on Ubuntu using apt-get install? Which apt repo do I need to add as default sudo apt-get install installs Node 0.12.x
0
votes
0answers
42 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
43 views

how to update node [duplicate]

I run ubuntu 14.04, I need node to run Ionic Framework, which pops a warning that it requires version 12 or later. I have to versions of node on my system : $ node -v v0.10.33 $ nodejs --version ...
0
votes
2answers
32 views

Trouble with node

Ubuntu 14.04.3 LTS I just installed nodejs with this command: sudo apt-get install nodejs That appears to have all worked correctly But when I run node -v or node --version It just exits ...
3
votes
1answer
382 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
57 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 ...
0
votes
1answer
200 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 ...
1
vote
1answer
211 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
351 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
46 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 ...