Questions tagged [npm]

node package manager is a package manager for node.js

Filter by
Sorted by
Tagged with
4 votes
2 answers
3k views

Trying to install debian package npm, makes apt-get to remove libssl-dev

:~/$ uname -a Linux hostname 4.9.0-4-rt-amd64 #1 SMP PREEMPT RT Debian 4.9.51-1 (2017-09-28) x86_64 GNU/Linux I think that I have a clear dependency tree without broken packages. :~/$ sudo apt-get ...
  • 330
1 vote
3 answers
6k views

npm installation not working under Debian Stretch

I just tried to install node and npm on Debian Stretch. I installed node like decribed here. After installing nodejs-legacy too I got the node command working but npm command still won't be found. ...
6 votes
1 answer
905 views

freeBSD: Atom Text Editor

Per Atom text editor build instructions for freeBSD: pkg install node pkg install npm pkg install libgnome-keyring npm config set python /usr/local/bin/python2 -g Then: git clone https://github.com/...
  • 69
0 votes
1 answer
470 views

you don't currently have permission to access this folder

I am trying to building a folder (name:components) within a build folder which contains only html files from the existing component folder using the following code. find components -iname "*.html" -...
0 votes
0 answers
107 views

NPM chown does not work as advertised

This is supposedly supposed to work sudo chown -R $(whoami) $(npm config get prefix)/{lib/node_modules,bin,share} according to this article https://docs.npmjs.com/getting-started/fixing-npm-...
22 votes
3 answers
22k views

How to install npm packages in NixOS?

In NixOS, I installed the package yarn as usual by running $ nix-env -i yarn. Now I am attempting to run yarn via $ yarn start. But this leads me to the following error. $ yarn start yarn start ...
  • 1,339
1 vote
0 answers
823 views

npm update check failed on login

I have just logged into my Fedora 25 server to see the following message: npm update check failed Try running with sudo or get access to the local update config store via sudo chown -R $USER:$(id -gn ...
0 votes
2 answers
355 views

How can I install the latest 6.x or 7.x versions of nodejs (April 2017) on a sid/stretch system?

Both the commands for node 6.x and 7.x fail with curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash - sudo apt-get install -y nodejs curl -sL https://deb.nodesource.com/setup_7.x | sudo -...
  • 7,031
0 votes
1 answer
318 views

Keeping a web app running on Ubuntu

I have an Angular2/NodeJS app running on a Linode Ubuntu server. I start the app using npm start and the app will stay running until the Terminal window on my mac is closed on times out. What should I ...
1 vote
0 answers
112 views

Cannot install pandoc-convert 1.1.0 via npm in atom 1.14.3 on Manjaro LXqt

When I try to install the package pandoc-convert 1.1.0 on Atom 1.14.3 using the Manjaro LXqt OS 16.11 I get the following error: Installing “pandoc-convert@1.1.0” failed.Hide output… (node:9072) ...
2 votes
2 answers
108 views

How to stop fedora from notifying me about nodejs updates?

I installed nodejs using dnf on fedora 25, then removed and installed the package from nodejs' website. I excluded npm from dnf. Dnf stopped notifying me about npm updates but the software center is ...
  • 4,034
0 votes
2 answers
906 views

Install unix program without internet access

I have a red hat server (server 1) which does not have access to internet. I also have another another red hat server (server 2) which DOES have access to internet and it can also access server 1. I ...
  • 101
2 votes
0 answers
450 views

How to fix node in armv5

I am trying to fix nodejs on mlinux. So when i do a uname -m the output is armv5tejl. It came with pre-installed node and npm. I tried to upgrade but somehow i think I have broken something. Now when ...
  • 121
0 votes
2 answers
69 views

How to make git clone install cli tool?

I am creating a cli tool in nodejs, that i want people to be able to run like this: git clone mytool.git mytool -arg1 Is it possible, or there needs to be a step in between. What would it be.
1 vote
3 answers
6k views

Why is npm struggling to connect to the internet on my Arch?

So while downloading the Atom Text Editor through the command yaourt -S atom-editor, but I get these errors: Installing build modules... npm ERR! Linux 4.5.4-1-ARCH npm ERR! argv "/usr/bin/node" "/...
  • 285
2 votes
2 answers
4k 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 ...
0 votes
1 answer
2k views

bash - npm not found, though installed

ph@vm:~$ uname -a Linux vm 4.2.0-16-generic #19-Ubuntu SMP Thu Oct 8 15:35:06 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux ph@vm:~$ which npm /home/ph/.nvm/versions/node/v4.0.0/bin/npm ph@vm:~$ npm -v 2....
  • 197
2 votes
1 answer
2k 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,...
1 vote
0 answers
444 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 ...
1 vote
1 answer
494 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 $(...
0 votes
1 answer
317 views

Can not execute bash script (unexpected element '(' )

I have created a script to check if I have installed Node, Npm, Bower and Susy but when I execute it I get an error which I can not solve. This is the script: isInstalled(){ command -v $1 >/...
  • 11
1 vote
1 answer
217 views

Npm throws error [Opensuse Tumbleweed]

I tried installing node.js on openSUSE Tumbleweed, but when I try to run npm install I get an error: openssl fips failed: error:2D06C06E:FIPS routines:FIPS_module_mode_set:fingerprint does not match ...
  • 11
1 vote
1 answer
2k 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
1 answer
2k 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 ...
  • 43
1 vote
0 answers
326 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 ...
  • 884
32 votes
4 answers
80k views

Is there an option to install an npm package without dependencies?

I'm attemting to modify an npm package with multiple dependencies. As such npm install -g . takes a long time to execute. Do I have other options besides removing the dependencies from packages.json?
4 votes
1 answer
2k views

Is it safe to install software globally with npm?

The node.js package manager, npm, has an option to install packages globally. Since distributions typically have their own package manager, is it safe to use the global option? Could npm packages ...
  • 5,273
3 votes
2 answers
995 views

Should I install npm in Kubuntu?

I am using Kubuntu. I am looking into installing a plugin to help in javascript. This seems to be good jshint but it mention npm install What is this? My understanding is that in Kubuntu I should only ...
  • 9,460
2 votes
1 answer
1k 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 ...
  • 121
2 votes
2 answers
4k 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 ...
  • 123
1 vote
4 answers
924 views

Distro with pip and npm as package managers?

Is there an attempt of distro around that for Python and Node code ( and Ruby , Lua ) would use Pip, NPM and rubygems and luarocks respectively ? It could simply work as a passthrough from native ...
  • 209
11 votes
1 answer
31k 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 ...
  • 243
0 votes
2 answers
1k views

YUM package "NPM" makes trouble

When I try to install npm like this sudo yum install npm I get this error: Fehler: Multilib version problems found. This often means that the root cause is something else and multilib ...
  • 113
2 votes
0 answers
331 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 ...
6 votes
1 answer
739 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 iPhone/...

1
2