Questions tagged [npm]
66 questions
1
vote
0 answers
Etherpad-Lite - Something bad happened
I installed etherpad-lite on Debian 7 - I also configured NPM and Node.js, but if I try to open etherpad, I'm getting this error:
{ "error": "Sorry, something bad happened!" }
On the console I'm getting:…

MyFault
- 913
- 3
- 15
- 36
1
vote
1 answer
Cant use npm as provider with puppet
I am attempting to do the following in puppet:
package { 'bower':
ensure => present,
provider => 'npm',
require => Class['nodejs'],
before => [ Exec['npm_install'], Exec['grunt_build'] ],
}
This gives me the error:
err: Failed…

spetz
- 90
- 2
- 7
1
vote
1 answer
Issues installing Grunt in Vagrant environment
I am attempting to install node.js, npm and Grunt.js in an Ubuntu Trusty 64bit Vagrant environment and running into some issues. Here is my puppet manifest:
init.pp --
class grunt::install {
exec { 'apt_update':
command => 'apt-get…

kaffolder
- 285
- 1
- 2
- 7
1
vote
1 answer
Apache webserver not starting - Not sure what's wrong
I had installed apache webserver on my local machine (Linux Mint 15) and everything was working fine until I tried to install npm/nodejs.
I'm getting this error whenever I try starting apache -
module.js:340
throw err;
^
Error: Cannot find…

Sterex
- 111
- 7
1
vote
0 answers
nodejs npm dependencies fails on pump.io installation
I want to install pump.io on my debian wheezy VPS by following these steps : https://github.com/e14n/pump.io/wiki/Debian-Installation
NodeJS installation is ok, but when I ask to npm for installing dependencies, it fails with this stack trace :…

abon999
- 111
- 2
1
vote
1 answer
troubleshoot puppet install order
My puppet agent run fails initially, then succeeds on the second run. I understand that it probably has to do with my execution order, and a dependency is being added later on in the execution process.
However, I cannot figure out what the missing…

LukeChavers
- 61
- 4
1
vote
1 answer
ENOENT errors when running npm inside vagrant shell provision
Have a project with the following package.json file:
{
"name": "requirejs-library-skeleton",
"description": "RequireJS skeleton for modern JS libraries.",
"version": "0.2.0",
"homepage":…

hijarian
- 851
- 1
- 10
- 14
1
vote
1 answer
NPM fails to install Socket.io does it need x-server?
I was trying to install socket.io on my linux server using NPM
root@camdev01-dev:# npm install socket.io
(npm:22742): Gtk-WARNING **: cannot open display:
OS:ubuntu.11.10 server

snucmrk
- 11
- 1
1
vote
1 answer
How to assign which user to execute commands inside the container in AWS FARGATE
i'm trying to launch a nodejs container using AWS FARGATE, the problem i'm facing is that fargate gives me this error :
cannot find this module "/path/to/file/webrtc.js"
And when i execute npm install from the command section when launching the…

logax
- 129
- 3
- 14
1
vote
1 answer
NPM issue, where to start
Hopefully this is the right forum to post. Coming stack overflow but I think this is more you guys' expertise.
I have a centos 6.10 box. It had Node.js and npm running ok. I don't know which versions of them were they. I tried to update them to the…

Aaron
- 113
- 1
- 5
1
vote
1 answer
gcloud deploy not making dist folder
Admittedly, I'm a novice at GCloud. I "inherited" a project abandoned by the previous developer. I'm trying to deploy a node app on the app engine. The app won't start because it can't find the dist/server.js file. That's because the entire dist…

Mike Hogan
- 11
- 1
1
vote
0 answers
node-sass error when installing on Ubuntu 18.04
I'm having problems installing node-sass on my server.
root@west:/usr/lib/node_modules# npm install -g node-sass
npm WARN deprecated mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API…

Andrew Newby
- 1,102
- 2
- 25
- 58
0
votes
1 answer
Mint, unable to install new version of NodeJS and NPM
I am unable to install a newer version of NodeJS than 8.10.0 on my Linux Mint machine. I've added repositories of newer versions (10.x and 11.x) via bash but neither works, apt does not find any updates for NodeJS nor NPM package. I've also tried…

fingust
- 1
- 2
0
votes
0 answers
Nginx rewrite proxy pass (For node react app)
I am running a Node React app on localhost:3000, which I am reverse proxying with Nginx and exposing on localhost/web/. However, there are issues with the files generated by the app, because they are not referenced correctly.
For example, some .js…

simernes
- 121
- 1
- 6
0
votes
1 answer
npm install globally a package offline with tarball
According to npm docs, this should work;
npm install ./package.tgz
So I try this globally for pm2 tarfile I have downloaded from pm2 github repo releases page;
npm install -g ./pm2-3.2.2.tar.gz
But I got this;
npm ERR! code ENOTFOUND
npm ERR!…

Yasin Okumuş
- 103
- 1
- 1
- 5