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
104 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
33 views

Setting an environment variable in /etc/environment doesn't work but export does?

So I'm trying to set an environment variable called "NODE_PATH", It works by using: export NODE_PATH=/home/myname/node So I thought I'd set it up permanently and found that it needs to be done in ...
2
votes
1answer
112 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 errors,...
2
votes
1answer
537 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 (>= 1.0....
2
votes
1answer
3k 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 nodejs=0.10.15-...
2
votes
1answer
298 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 ...
3
votes
0answers
128 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
138 views

Trying to install AngularJS, but I can't install Yeoman

I'm trying to install AngularJS though Yeoman, but I keep running into problems and can't install Yeoman. My version of NodeJS is v0.12.10 (updated, as far as I can tell), my npm verison is 3.7.3 (...
1
vote
0answers
14 views

Error installing Nodejs package

I needed to install Nodejs into Ubuntu 14.04 For that, I executed the following command in the terminal with reference from following URL: https://www.digitalocean.com/community/tutorials/how-to-...
1
vote
0answers
52 views

Cannot install NodeJS legacy

I am using Ubuntu 15.10. I am trying to install NodeJS legacy but I get this error The following packages have unmet dependencies: nodejs-legacy : Depends: nodejs (>= 0.6.19~dfsg1-3~) but it is ...
1
vote
0answers
16 views

Why does Ubuntu package node.js packages?

I've been looking through this list of node.js packages provided by Ubuntu, and it's confused me a little. Why do any of these exist beyond node.js and npm itself? The majority of these packages (e....
1
vote
0answers
134 views

How to install nodejs 4.4.3 LTS version on Ubuntu 12.04?

I have tried to build it form the source using the following commands: cd /usr/local/src wget http://nodejs.org/dist/v4.4.3/node-v4.4.3.tar.gz tar -xvzf node-v4.4.3.tar.gz cd node-v4.4.3 ./configure ...
1
vote
0answers
45 views

npm forever is not responding after install

I am new to node. I am trying to run my certain script using forever. I followed this link npm forever install and installed forever. Now when I start forever its not showing anything in response //...
1
vote
0answers
322 views

How to install node 0.10.40 on Ubuntu 14.04

I'm trying to follow this instruction (from How to Install the Latest Versions of NodeJS and NPM for Ubuntu 14.04 LTS): apt-key adv --keyserver keyserver.ubuntu.com --recv 68576280 apt-add-repository ...
1
vote
0answers
153 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
44 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
87 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
525 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
109 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 ...
0
votes
0answers
18 views

How to go back to node version 5 from node version 6?

When I use whereis node it returns the paths node: /usr/local/bin/node /opt/node/bin/node $ node -v v6.2.2 How should I install node v5.11.1 in Ubuntu 15.10?
0
votes
0answers
29 views

Node error with steam trade/jackpot site bot

I am making a bot for a csgo gambling website and as I node the bot for it to work I get the error: TypeError: offer.getEscrowDuration is not a function at /root/bot.js:225:9 at Request....
0
votes
0answers
41 views

Get raml2html to work on 14.04

I'd like to be able to execute raml2html to generate documentation for some APIs that are specified using RAML. I have installed raml2html using the nodejs package manager via $> sudo npm i -g ...
0
votes
0answers
75 views

Cannot start AngularSeed

I want to start AngularSeed, but I get this error > angular-seed@0.0.0 prestart /var/www/store > npm install npm WARN lifecycle angular-seed@0.0.0~postinstall: cannot run in wd %s %s (wd=%s) ...
0
votes
0answers
24 views

Why npm init is not working - ubuntu 14.04 lts

npm init is not creating the package.json file. Node version: 0.10.25 I found this solution on Ask Ubuntu: sudo apt-get remove npm sudo apt-get remove node sudo apt-get autoremove sudo apt-get ...
0
votes
0answers
15 views

nodejs 6 installation shows version 0.10.25

I am trying to install the nodejs 6 version : curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash - sudo apt-get install -y nodejs First of all , it returns me an error: env: -E: No such ...
0
votes
0answers
11 views

Whats the best choice to run a nodejs app as webkit

We are developing an nodejs application and the computer(tablet) will going to run only the application not anything else. So when the system restarts the nodejs app will directly opened and user will ...
0
votes
0answers
34 views

“npm ERR! SELF_SIGNED_CERT_IN_CHAIN” when trying “sudo npm install -g n”

I am running the following command: sudo npm install -g n And getting this error: npm ERR! Linux 3.16.0-67-generic npm ERR! argv "node" "/usr/local/bin/npm" "install" "-g" "n" npm ERR! ...
0
votes
0answers
14 views

Switch default to using this binary version

I am using Ubuntu 14.04 which is a virtual image on DigitalOcean. I installed the latest node.js version based on instructions here. https://github.com/nodesource/distributions This latest node.js ...
0
votes
0answers
21 views

Running my process in a different user

I have a simple Node JS script running on my Ubuntu VPS on the root user, the VPS will be used for nothing else, doesn't use excessive CPU or RAM or allocated memory space. Should I create a new user ...
0
votes
0answers
172 views

sudo apt-get update fails on postgresql

I am trying to install nodejs but it keeps on failing. So I have uninstalled nodejs and found out that sudo apt-get update still fails. It's been so long that I have used postgresql. but here is my ...
0
votes
0answers
58 views

How to complete remove/purge NPM - NODE - Mongodb -Mongo express?

I am complete Noob in NPM - NODE - Mongodb - Mongo express, I tried to install them month ago and I really don't remember how I did install them, I know they are installed because I can get the ...
0
votes
0answers
33 views

How to install MEAN JS on Ubuntu 14.04?

I have tried to install MEAN JS on my local machine by myself but it did not work. Has anybody experience with that or maybe know about a proved step by step guide? There are some instructions when ...
0
votes
0answers
71 views

Using Bonescript with Snapcraft and Snappy ubuntu core

I am using Snappy ubuntu core 16.4 on my BeagleBone Black, and the latest version of Snapcraft for building aplications. Due to cross building problem I got to build my snap package on BeagleBone in ...
0
votes
0answers
172 views

How to create snappy nodejs web application

Currently I'm working on IoT project, and we decided to use Beagle Bone Black. Original BBB OS use too much space and RAM so we googled and found Snappy Ubuntu Core as a perfect solution. Problem is ...
0
votes
0answers
143 views

Updated Node.js, but npm stuck on previous version

I've got Node.js installed on Ubuntu 15.04. I've also got npm installed. I wanted to get up to the current version of Node, so I installed the tool n and updated Node that way. That worked. However, ...
0
votes
0answers
96 views

Ubuntu Nodejs serialport npm install

I am trying to install the npm serialport package to use it with Nodejs v4.3.1 When running the following command; sudo npm install serialport I get the following error ; /usr/local/bin/node: 1: ...
0
votes
0answers
60 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
43 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
54 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
151 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
36 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
176 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
462 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
63 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
118 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
142 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
59 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
24 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
33 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 apt-...