Node.js is an event based, asynchronous I/O framework that uses Google's V8 JavaScript engine.

learn more… | top users | synonyms

0
votes
0answers
15 views

Settings are not saved when Firefox run by jpm (Node.js)

In order to use Google Data Compression Proxy on Firefox, I run firefox (actually Abrowser on Trisquel GNU/Linux by following command: jpm run -b /usr/bin/firefox Add-on and Google data compression ...
0
votes
1answer
16 views

Having issues with compiling node.js from source using ./configure

I referred to this already answered question, but it wasnt of any help. Can you tell me what i'm missing? I'm trying to install node.js on my Debian 8.0. According to this github article, i followed. ...
0
votes
0answers
10 views

SSL request fails during bootup because of wrong date

I have a boot-up script that runs a node application. When I make a request to a server, I get the following error: { [Error: certificate is not yet valid] code: 'CERT_NOT_YET_VALID' } I'm assuming ...
1
vote
1answer
29 views

Figure out the PID of exact node.js application

Here is an output of my ps aux: ps aux | grep "node" root 2501 0.0 3.4 720400 68512 ? Sl 16:09 0:03 node /etc/skbx/host/skbx.js 8081 tula13 8082 8084 8085 10.8.0.6 root 20586 ...
0
votes
0answers
41 views

What is the easiest way to trigger a shell script on my local machine and get its output

Say I have a script.sh as: echo $1 echo $2 echo $3 And I have a web page served by node.js at localhost:3000/page I would like to create the page like this (jsfiddle): script.sh <input ...
0
votes
0answers
22 views

PM2 inside bash script deployed by puppet not working

#!/bin/bash yum -y install gcc-c++ wget https://nodejs.org/dist/v0.12.7/node-v0.12.7.tar.gz tar -xvzf node-v0.12.7.tar.gz cd node-v0.12.7 ./configure make sudo make ...
0
votes
1answer
50 views

Setting up MEAN webserver in Ubuntu 14.04 vm

I'm new to the world of web servers. My lab gave me a url with a Ubuntu 14.04 virtual machine. I sorted out enough of what I needed to do to SSH in, install all relevant libraries, and clone my code ...
0
votes
0answers
22 views

Install Nodejs Chrome OS

Is it possible to install nodejs on a chrome OS computer? If not why not, or how might i fix it? I'm looking for a permanent solution.
0
votes
1answer
236 views

How to install bower on CentOS 7?

I am trying to install bower on CentOS 7, after installing node.js. To install node.js I followed these steps: Step1: wget http://nodejs.org/dist/v0.10.30/node-v0.10.30.tar.gz Step2: tar xzvf ...
1
vote
2answers
37 views

Launch node & chrome after system boot

I've a RaspberryPi, and I would like to run a nodeJS script (running a server), and then open Chrome when the server has been launched. Currently, I launch my nodeJS script thanks to a script in ...
1
vote
0answers
16 views

Tunslip deactivates WiFi in raspberry pi B+ board

I'm using Contiki operating system with Cooja to simulate a sensor node network. And I'm trying to capture the ip packets it's sending in a Raspberry Pi B+ board (through USB) using tunslip6 and a ...
1
vote
1answer
304 views

CentOS 7 - why the service file is not working to run my bash script?

How to make my bash script as service in CentOS 7? following is failing. $ cat /etc/systemd/system/mybash.service [Unit] Description=mybash Service After=network.target [Service] Type=simple ...
4
votes
1answer
3k views

How to install latest NodeJS on Debian Jessie?

I just installed NodeJS & NPM on Debian Jessie using the recommended approach: apt-get install curl curl -sL https://deb.nodesource.com/setup | bash - apt-get install -y nodejs However it’s a ...
1
vote
1answer
214 views

Bash script problem in RPM postinstall

I created an rpm package that extract a Node.js project into a specific folder and then I created a postinstall script that cd into that folder and perform an "npm install --production" #!/bin/bash ...
1
vote
0answers
41 views

Run ssh-agent 24/7 using keychain?

I have a Node.js script that requires ssh-agent to be running 24/7 on my Ubuntu server. I installed keychain and put eval 'keychain --eval id_rsa into my ~/.bash_profile, but that only runs when I ssh ...
1
vote
1answer
105 views

I'd like to run a few terminal commands from inside vim

There are two common things I do when I code something. I either open that file in the browser or run it in node. So I'd like to create a couple of shortcuts inside vim to that effect. I'd like F5 to ...
1
vote
0answers
108 views

npm on ARM return TypeError: Bad argument

Env Cross-compiled node.js for ARM read more... Installed on target FriendlyARM mini210s running bare Linux 3.0.8 armv7l On target node.js seems to function properly. I tried a simple hello word ...
0
votes
1answer
391 views

How to install IBM DB2 Database Driver on Ubuntu for Node.js

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 ...
0
votes
1answer
77 views

How to read bash config when working with SSH remote sessions [duplicate]

I have a Node.js app which I want to deploy on my VM machine. Before starting the app, I want to set few commands which should be read before the app is started. I placed those commands inside ...
3
votes
2answers
98 views

How does one determine when a process or machine is IO bound?

I have a node.js process which writes to many different sqlite databases. Sqlite can handle only one concurrent write per database, which is fine since there will be only one write per database at a ...
0
votes
1answer
162 views

Installing Node.js on a remote LAMP server with no internet connection

As a part of a student project, I am to host my Node.js-based server application on a server so that other people can try connecting to it and test the integrity of it's functions. The problem is that ...
0
votes
1answer
78 views

Where to “install” node application and best way to launch

I'm pretty new to the Linux world, I have a Node application that I would like to distribute through an apt repository, this is what I do for now: Put the node binary inside the Node application ...
3
votes
1answer
1k views

nvm command not available in bash script

I am trying to build a script in in which nvm and eventually node will get installed. I have installed nvm with cURL. I see the modifications in the .profile or .bashrc file (both work) and when ...
1
vote
2answers
200 views

Combine svlogd logs from different runit services

I want to run a Node.js app with multiple Node processes running the exact same code. I'm using runit to start and manage the Node processes, because it has good Chef support. To illustrate the set ...
0
votes
0answers
102 views

What is a good way to globally install packages with npm on a RHEL-based distro?

I am running into an issue where node.js RPM packages from Fedora's repository and packages installed with 'npm install -g ...' are both being installed in /usr/lib/node_modules (npm itself being ...
0
votes
0answers
75 views

stop node server in tmux

I have a vagrant in which one I launch a node server on start. The node server is start in a tmux session but when I attach my tmux session and I do a ctrl + c the server is killed but the tmux ...
2
votes
2answers
2k views

How do I cross-compile node.js for ARM architecture? GCC does not report the FP ABI compiled for

Environment TARGET Single board computer: FriendlyARM mini210s TARGET Linux : 3.0.8 armv7l Cross compiling on vagrant box Ubuntu Precise64 Cross-compiling with GCC 4.5.1 ...
0
votes
1answer
745 views

Please set env variable CHROME_BIN

> node node_modules/karma/bin/karma start test/karma.conf.js INFO [karma]: Karma v0.12.30 server started at http://localhost:9876/ INFO [launcher]: Starting browser Chrome ERROR [launcher]: Cannot ...
0
votes
1answer
59 views

NodeJS / Etherpad: freshly installed etherpad causes TypeError

I have a Debian 7 stable server and installed etherpad-lite with this tutorial how to install etherpad-lite on debian stable. Everything went fine and etherpad starts without errors using: service ...
0
votes
0answers
306 views

How do I install tools, packages on Linux 3.0.8 armv7l?

Environment FriendlyArm Mini210s Linux 3.0.8 armv7l On the board: # uname -a Linux 3.0.8-FriendlyARM #76 PREEMPT Thu Aug 21 16:53:31 CEST 2014 armv7l unknown I need to install development ...
1
vote
1answer
897 views

What is the cause of this error: Error: EACCES, permission denied

I have two three users: db, nr, ba All three are members of the group dbp Node.js is installed in /usr/bin If I run the command : /usr/bin/node /home/db/dbb/m/i.js Then it works fine when I run ...
1
vote
1answer
239 views

Tracing the node process executing my script from “npm start”

I am attempting to debug a cli node project. Its easier to do npm start than npm install -g . && libgrabber. However, I'd like to run strace on the process. The output of strace -f on the npm ...
6
votes
1answer
276 views

Setting permissions for specific programs to run as guest

How do I set permissions for an HTTP server (nodejs) to run programs in /usr/local/share/npm/ safely? My use case is to setup my OSX box to run cloud9 and use titanium to build iOS apps for ...
0
votes
1answer
1k views

NodeJS for Slackware

I want to run NodeJS on Slackware based distro named PuppyLinux. Since I am used to Ubuntu and CentOS (the simple Linux land), I found it pretty hard to find a NodeJS package to run on Slackware. I ...
2
votes
1answer
885 views

How to install Node.js in CentOS 5.10 with Python 2.4?

I want to use Grunt on websites we have hosted on our WHM dedicated server. It is running CENTOS 5.10 x86_64 standard with WHM 11.42.1 (build 21). It is critical that things do not break, as we have ...
4
votes
1answer
3k views

Why is permission denied for npm start using node-dev?

I am trying to start a node.js application with on a low permissions user. All the files I know of are owned by the correct user and have permissions set reasonably well. I'm trying to use a script ...
2
votes
0answers
260 views

npm issues with uglify-js

I'm trying to use node.js to run a project on my Raspberry Pi (following this guide: http://blog.donaldderek.com/2013/06/build-your-own-google-tv-using-raspberrypi-nodejs-and-socket-io/ ) and I've run ...
8
votes
5answers
13k views

What's the currently recommended way to install node.js on Debian?

I've found a few different methods on the web, but some of the articles are quite old, and I'm concerned that the methods they describe have been superceded. Can anyone tell me what the currently ...
-1
votes
1answer
263 views

Set environment variable and run node.js server

In Ubuntu I have this: $ DEBUG=* node server.js But in FreeBSD I try this and got the following error: # setenv DEBUG * node server.js setenv: Too many arguments. How can I do this?
2
votes
2answers
305 views

cpulimit does not detect Node.JS process

I was able to limit python process to use only 50% CPU with the following cpulimit -l 50 -e python but when I tried to do the same for Node, and it is not able to detect the process at all. Does ...
1
vote
1answer
1k views

Understand file descriptors and nodejs

I'm having a bit of a confused time understanding what a file descriptor is and if I even need one! I am trying to spawn a process in nodejs and have its out put be written directly to an out put ...
2
votes
2answers
1k views

How to install multiple glibc on fedora

I have Fedora 4 installed on my computer and it has glibc version 2.5.3, but I want to install a software that needs a glibc 2.7+. On the other hand, I have some programs that need this 2.5.3 version. ...
2
votes
1answer
127 views

Running services without sudo

I want to run a nodeJS web server on a couple of machines which I don't have sudo access on. What would be a good way to do this? The two requirements are: running the service without being ...
2
votes
1answer
115 views

Compile Node.js for Raspberry fast

I wan't to know if there is a faster way to compile the node.js code for raspberry then letting the raspberry itself compile the code. Assuming I have cloned the nodejs source into /home/pi/node/ ...
25
votes
4answers
6k views

Universal Node.js shebang?

Node.js is very popular these days and I've been writing some scripts on it. Unfortunately, compatibility is a problem. Officially, the Node.js interpreter is supposed to be called node, but Debian ...
0
votes
0answers
3k views

NVM cannot find installed Node binary, PATH problem on Linux Mint 17?

I've successfully installed NVM and Node using official instructions. My .bashrc file contains [ -s "/home/user/.nvm/nvm.sh" ] && . "/home/user/.nvm/nvm.sh" After some time, maybe a day, I ...
1
vote
1answer
383 views

nodejs sub processes in nohup bash script lock up

I run scripts with nohup that contain a list of a few hundred to a few thousand nodejs commands. These nodejs sub processes sync data from mysql and salesforce to couchdb. $ nohup ...
0
votes
2answers
626 views

Where node.js was installed?

I have installed node.js by : $ yaourt -S nodejs But where node.js (Dir) was installed?
1
vote
1answer
869 views

Fail to install node.js on Debian

I'm running Raspbmc which is running a minimal Linux distribution based on Debian. And I would like to install node.js via package manager but I'm fail to install on my system. Which it come with this ...
1
vote
0answers
540 views

Using node.js and shelljs as interactive shell

Following the answer given at unix.stackexchange.com/questions/58011/is-there-a-javascript-shell That requires me to always execute var shell=require("/usr/local/lib/node_modules/shelljs"); It ...