Questions tagged [npm]

npm (Node Package Module) is the package manager for the Node.js JavaScript platform.

npm (Node Package Module) is the package manager for the Node.js JavaScript platform. It comes by default with Node.js after install it. The general usage is similar to other package managers like apt-get which work over the terminal and have similar parameters like install and search.

288 questions
16
votes
6 answers

bower install does nothing, not even throw an error

I am on Ubuntu 14.04. I did sudo apt-get install npm. Then I did npm install -g bower, which was successful. With which npm, I get /usr/bin/npm/. With which bower, I get /usr/local/bin/bower. I cloned a github repository which had a bower.json. I…
corvid
  • 347
  • 2
  • 3
  • 11
8
votes
2 answers

npm version is not compatible with node.js version

I was trying to install mysql for npm with the comand npm install mysql, then I receive this error message: npm WARN npm npm does not support Node.js v10.15.2 npm WARN npm You should probably upgrade to a newer version of node as we npm WARN npm…
5
votes
2 answers

How to update coffee script?

I got a following error when I tried to watch coffee scripts by coffee -o js -cw coffee. /usr/local/lib/node_modules/coffee-script/lib/coffee-script/command.js:321 throw e; ^ Error: watch Unknown system errno 28 at…
ironsand
  • 1,137
  • 4
  • 12
  • 25
3
votes
1 answer

missing argument to `-exec'

I'm trying to run the following command: webpack && cp -r i18n build/i18n && cp -r core build/core && cp -r views build/views && cp -r styles build/styles && find ./components -iname \"*.html\" -exec rsync -R '{}' ./build/…
2
votes
1 answer

How to install and configure appium in ubuntu?

I have already install and configure appium in windows platform. I want to do the same in ubuntu. I have searched for some blogs and find some useful. Please tell me the way to install and configure appium in ubuntu
2
votes
1 answer

npm can't be installed

shubham@shubham$ npm The program 'npm' is currently not installed. You can install it by typing: sudo apt-get install npm shubham@shubham$ sudo apt-get install npm Reading package lists... Done Building dependency tree Reading state…
2
votes
1 answer

I got error Cannot find module 'node:path' when installing laravel/vite app

I tried to install laravel9/vite app on Ubuntu 18.04 on my remote host and got error: root@nsn-do-lamp:/var/www/html/mng-products# npm -v 6.14.8 root@nsn-do-lamp:/var/www/html/mng-products# npm run build > @ build /var/www/html/mng-products > vite…
mstdmstd
  • 173
2
votes
1 answer

npm http-server not working on ubuntu 20.04.3 LTS

I've been using http-server on Windows for years. Today I installed http-server on ubuntu and it does not work. It initializes exactly as it does on Windows. However, I get an error when I navigate to the local website (http://127.0.0.1:8080). This…
1
vote
2 answers

How to run Angular 2 apps with Node on Ubuntu?

I am trying to install the Angular CLI on Ubnutu 17.04 with via sudo npm install -g @angular/cli However it generates the following warnings: npm WARN gentlyRm not removing /usr/local/bin/ng as it wasn't installed by…
1
vote
1 answer

Cordova Node.js or npm problem

I have been told by Google to upgrade my Apps to a more recent version of Cordova than 3.1.5. The latest version is 6.1.0. I have tried several later versions on my Ubuntu 16.04 laptop but cannot get any of them to work though I have always used…
1
vote
0 answers

npm full of errors I think I set it up wrong?

Error output from request update: pi@raspberrypi:~ $ sudo npm install request --save > usb@1.2.0 install /home/pi/node_modules/usb > node-pre-gyp install --fallback-to-build node-pre-gyp ERR! Tried to download:…
1
vote
1 answer

npm install fsevent returns errors

Hello I'm trying to install fsevent with npm. Therefore I use the following versions: Node: 4.2.6 NPM: 3.5.2 OS: Ubuntu 16.04 LTS I'm executing the statement npm install fsevent --no-optional --save react-redux After executing I get the following…
1
vote
0 answers

npm install does not create subfolder in node_modules

I am having some weird issues. I just installed Ubuntu 14.04 and trying to get cordova working. So I first installed some basic stuff (apache2, mysql-server, etc) and then installed npm (sudo apt-get install npm). Thats all fine, I have a…
1
vote
0 answers

Error: spawn unzip ENOENT event.js:174

throw er; // Unhandled 'error' event ^ Error: spawn unzip ENOENT at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19) at onErrorNT (internal/child_process.js:415:16) at process._tickCallback…
1
vote
1 answer

How can I install forever-monitor on ubuntu

Where do I make a mistake?.. I can't install it under the ubuntu I have two devices: jetson nano and desktop ubuntu 18 I am running the following command: $npm i -g forever-monitor I get the same error when I try to install forever-monitor on…
1
2