Node.js is an event based, asynchronous I/O framework that uses Google's V8 JavaScript engine.
0
votes
0answers
5 views
.el7.x86_64 conflicts with file from package el7.centos.x86_64
I am having a conflict with el7 and el7.centos how do I fix this?
Also what caused this? Thanks.
Total ...
-1
votes
0answers
27 views
Adding to PATH prints unnecessary information
Why do I get a bunch of unnecessary info printed every time I open a shell from a directory that has a node_modules after adding this line to my .bash_profile:
export PATH="./node_modules/.bin:$PATH"
...
3
votes
1answer
151 views
Does the Linux version of Node.js come bundled with libv8?
I'm a bit confused as to how Node.js gets access to libv8.
I downloaded the 64-bit "Linux Binaries (.tar.xz)" for version 6.5.0 of Node.js and extracted them to /opt on my Debian Linux machine. When ...
0
votes
0answers
12 views
Node modules deploy on linux
I'd like to know what's the best way to deploy a website using node_modules...
When I do du -sh node_modules, I get 400 MO.
Is there any solutions to compress node_modules ?
1
vote
1answer
83 views
how do I know if and why linux is killing my processes?
I'm working on one of amazon's linux distros (4.4.11-23.53.amzn1.x86_64). (1gb ram)on that instance
I am running node.js with the forever module. (It makes sure to restart the node.js process if it ...
0
votes
0answers
57 views
Where should the node_modules folder go? (Mint)
I'm just about to install Karma, Jasmine and NodeJS to start testing for AngularJS. I'm having a tough time figuring out where to put the node_modules folder. My question is split into two parts, does ...
0
votes
1answer
185 views
What is the most efficient way to check if Node is currently installed?
I am writing a script that will first check if Node is currently installed, if not it will install the latest version of Node. If it is installed, then it will proceed to another function to update it....
0
votes
1answer
625 views
CentOS Multilib problem with libgcc
My friend's computer running CentOS 5.6, trying to install hhvm, but it got an error:
$ yum install hhvm
Failed to set locale, defaulting to C
Loaded plugins: fastestmirror
Setting up Install Process
...
1
vote
1answer
54 views
create user with only permissions to execute C Programs
I am trying to build online code editor. My scenario : Through the web server a request is received for a 'C' program -the root user creates the file, compiles the file and acks success to the user.
...
0
votes
0answers
25 views
chown vs chmod shared directories (NPM)
If several people are on a Linux box and one user issues chown commands on some shared folders (this has to with Node.js/NPM global files), aren't they competing with each for permissions? Is it ...
0
votes
0answers
53 views
controlling wpa_supplicant using node.js
I would like to control wpa_supplicant using a node.js module.
Most importantly I want to be able to detect connection failures so I can write a program that can act upon them.
So far setting up a ...
0
votes
1answer
11 views
NPMJS Forever and Logfiles
Does Forever always have its own log file? I have the following process running:
data: uid command script forever pid id logfile uptime
...
-1
votes
1answer
131 views
NodeJS - error npm undefined symbol uv_fs_realpath
i'm trying to install yo (linux) using npm
npm install -g yo
but i get this error :
node: symbol lookup error: node: undefined symbol: uv_fs_realpath
when i only type npm, it return same error ...
1
vote
1answer
80 views
Pass Environment Variable to Sudo AWS ec2 sudo node
I am new to linux and AWS. I have a node.js server running on an EC2 instance. I am running the following command to keep it running endlessly and on port 80:
$ sudo node app.js &
Now when I ...
1
vote
1answer
68 views
How can I make node.js automatically load config files?
In my mac os x computer, node.js, you can use 'require()' to load your configuration files, but I am tired of having to do that on all my programs. Is there a way to make node.js automatically load ...
1
vote
0answers
230 views
How to Install latest version of Node js for Elementary OS (ubuntu)
I have downloaded node v5 for Linux on the *node website and found some instructions on how to Install a tar.gz file but this file ends with tar.xz and I can't find any instructions for that. Please ...
2
votes
1answer
308 views
Using an older version of Node and NPM on FreeBSD
I need to install an older version of NODE and NPM on freebsd to work with GHOST, a pretty cool blogging platform. I want to do this on my own system, preferably on a FreeBSD VM.
The system is setup,...
0
votes
0answers
108 views
Installing npm on Mint 17 without using curl or the GUI file-manager
I'm trying to install npm in a Mint VM running on Windows 10 on which I can only use sudo to install and modify directories and have no ability to create directories via the visual file manager. I ...
1
vote
0answers
98 views
npm install couchbase on linux machine failing
I am trying to move node js application from windows machine to linux machine for QA environment and I am having trouble installing couchbase module on linux machine.
It ran fine on windows machine ...
2
votes
3answers
1k views
Why is yum trying to install the wrong version of node.js?
On a CentOS 7 server, I am trying to install version 5.x of Node.js, but for some reason, yum keeps trying to install version 0.x and returning an error when it cannot find version 0.x at the 5.x ...
1
vote
1answer
302 views
How does one remove a tar-installed Node.js from CentOS 7?
A CentOS 7 server has v0.12.7 of Node.js installed, and the installation was done using a tar. This is leading to conflicts when I try to install a more modern version of Node.js using yum. What ...
1
vote
3answers
2k views
Why won't the correct new version of Node.js install on CentOS 7?
Note: This is partially solved, but needs a little more attention. See notes at bottom of OP, and @Digisec's partial answer.
I am trying to set up Node.js on CentOS 7, but the following commands ...
3
votes
1answer
476 views
Node JS - get FQDN [closed]
How can I get the FQDN (Fully Qualified Domain Name) of the machine on which node is running?
os.gethostname() is not sufficient, since it usually returns the unqualified DN, only. Same thing for dns....
0
votes
2answers
388 views
Ruby gems not recognized in bash script
I have built a node.js app that listens for webhooks. Currently it is used to build a jekyll website.
I have configured it on my server and jekyll build works perfectly when I run it in the root of ...
1
vote
0answers
248 views
SASS (gulp) failing
My gulp is failing. It's a clean install. Installed as non-superuser and using as non-superuser.
I am in /X/ when running gulp.
It works straight from install on other machines.
I have done a ls -l $(...
1
vote
1answer
4k views
libssl.so.0.9.8: cannot open shared object file: No such file or directory
When attempting to run Cloud9 IDE locally after its installation I receive this error:
# bin/cloud9.sh
Linux 64 bit
support/node-builds-v4/node-linux64: error while loading shared libraries: libssl....
2
votes
1answer
141 views
SSH login keeps kicking me out
I am on Centos 6.6 and recently updated my server using yum, it updated a bunch of things and everything seemed fine, but I was also trying to update Ruby RVM and Node.js and NPM (Node Package Manager)...
1
vote
1answer
46 views
Using bash to make sure one program has had time to start before starting another
I have an issue with the following bash script:
#Install and start application
./gradlew assemble
java -jar bignibou-server/build/libs/bignibou-server.jar&
#Run end2end tests
node_modules/.bin/...
0
votes
1answer
102 views
Is it possible to run programs nodejs in bash?
My question is simple : I have a program written in nodejs and want to run it in an infinite loop in the language bash, is this possible?
1
vote
1answer
225 views
kali 2.0 it seems as though node was renamed nodejs
Im not sure why but the output from the commands are as follows. I have been trying to download npm but cant seem to. Was wondering if node was renamed at install due to naming conflict(wouldn't think ...
0
votes
0answers
38 views
Installing Node V4 on Linux Mint 17
I have downloaded and unpacked https://nodejs.org/dist/v4.2.1/node-v4.2.1-linux-arm64.tar.gz but don't know what to do after that. I saw some articles that talked about running the configure and then ...
0
votes
1answer
79 views
Installed package but get older version
I've updated NodeJS but the version still displays as the older.
What am I doing wrong? I can see it has downloaded the latest (4.1.2).
Thanks in advance!
2
votes
1answer
216 views
Node.js server with daemontools is constantly restarted
I want to run a Node.js server with daemontools on Debian (Jessie) but my script running under supervise is constantly restarted. This is the run script that I'm using (/etc/service/node/run):
#!/bin/...
1
vote
2answers
595 views
Having issues with compiling node.js from source using ./configure [closed]
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
21 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
420 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....
0
votes
0answers
289 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 type="...
0
votes
1answer
327 views
PM2 inside bash script deployed by puppet not working
#!/bin/bash
# install needed RPMS
yum -y install gcc-c++ git
# downlaod and compile node
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
./...
1
vote
1answer
169 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
1answer
1k 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 node-...
1
vote
2answers
115 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 /etc/...
1
vote
0answers
60 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
2k 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
User=...
21
votes
3answers
48k 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 ...
2
votes
0answers
61 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
210 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 ...
0
votes
1answer
127 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
255 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
326 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 ...
1
vote
1answer
497 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
...