Questions tagged [npm]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
40 views

VS Code React installation issues

$ npx create-react-app my-app npx: installed 67 in 8.478s Creating a new React app in /home/unaiz/Desktop/mango/my-app. Installing packages. This might take a couple of minutes. Installing react, ...
0
votes
1answer
110 views

nodejs is installed but fails to display the version

I am using Ubuntu 20.04. I have installed nodejs using sudo apt install nodejs, but when using nodejs --version it asks me to install. Then when I am trying to use sudo apt install npm it's displaying ...
0
votes
1answer
55 views

UNABLE_TO_VERIFY_LEAF_SIGNATURE after `apt install npm`

I'm actually attempting to install gTile, which requires Bazelisk. On a relatively clean system: $ sudo apt install npm # takes almost 5 minutes, then: $ npm install -g @bazel/bazelisk npm ERR! code ...
0
votes
0answers
34 views

Should I run `npm install -g npm` if my current npm was installed with apt?

Whenever I use npm, I get a big fat warning: ╭────────────────────────────────────────────────────────────────╮ │ │ │ New major ...
0
votes
1answer
17 views

How to use npm file-storage package?

I learn Javascript and don't even know, how exactly use FileStorage object. var storage = new FileStorage(...); // supply valid credentials The package link: https://www.npmjs.com/package/file-...
0
votes
0answers
52 views

Installing Ganache GUI in Ubuntu

How exactly is Ganache installed on Ubuntu? The approach of using git looks advantageous, yet, I'd expect a sort of wrapper around git for use from within npm or similar. Or does this have to be ...
0
votes
0answers
25 views

Ubuntu NodeJS latest version

I've tried several times from the standard Ubuntu .deb repos to get the latest version of Node.JS but it always installs node version 8.10 and npm version 3.5.2 which both have a bug when installing ...
0
votes
0answers
67 views

nodejs - npm error

I installed NodeJS and when I tried to check the installation it showed nodejs not installed. But when I tried to check the version of npm , I am facing the following error: $npm-vb /usr/lib/...
0
votes
1answer
210 views

Login to netlify from your workspace terminal

I used netlify login in the terminal but it gives the error - netlify: command not found. I have also installed netlify CLI using this command - npm install netlify-cli -g but still getting this error....
0
votes
0answers
24 views

Framer Motion Node_Module Issues

Is anyone familiar with where 'filter' is imported from for framer motion within the node_module? I just did an "npm install framer-motion" to update my previous version (The version I am ...
0
votes
0answers
555 views

How to install npm dependencies?

I installed npm: apt install npm Then ran npm install in the easyappointments folder and got an error: npm WARN trumbowyg@2.21.0 requires a peer of jQuery@>=1.8 but none is installed. You must ...
0
votes
0answers
96 views

Disadvantages of using npm n for upgrading nodejs

My question There are some criticisms against npm n, but they are dated (mostly from < 2018). Do the criticisms still stand? Is n unstable or does it have pitfalls? It bears saying that there were ...
1
vote
0answers
376 views

How can I solve “Media change: please insert the disc labeled”? [duplicate]

When I run sudo apt install npm I get: Media change: please insert the disc labeled 'Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731)' in the drive '/...
0
votes
1answer
127 views

Ubuntu 20.04 shell loads slow because of “npm config --loglevel=warn get prefix” command

My shell always takes a couple of seconds to load the first time when I boot up, after boot up, when I open up the terminal multiple times to load the shell again and again the boot time decreases to ...
0
votes
1answer
955 views

What is the problem with node_modules (or npm) PPA on Ubuntu

I started to use Ubuntu last year and since today I face really annoying problems. Firstly the problems were Reactjs with script errors which I couldn't even start a project, anyway I solved in ...
0
votes
0answers
699 views

npm install return network error ECONNRESET

Everytime I try installing packages using npm I get the following error npm ERR! code ECONNRESET npm ERR! errno ECONNRESET npm ERR! network Invalid response body while trying to fetch https://...
0
votes
0answers
115 views

Problem with installing web3 using npm

I am trying to install web3 on my ubuntu 18.04 system. I am using the following command: @lc2530hz:~$ sudo npm install -g web3 but I am getting the error: sudo: npm: command not found But when I am ...
0
votes
1answer
664 views

NPM install fails on ubuntu 20.04 Vagrant box

I'm running into ENOENT errors when trying to npm install on a Linux Vagrant box. My code in the provisioning script looks like: sudo apt-get update sudo apt-get install nodejs sudo apt-get install ...
0
votes
1answer
212 views

NPM, NVM, NodeJS on WSL2 Ubuntu

Before I you read my question, please let me know if WSL2 Ubuntu related questions are permitted in this forum. I have a Laravel App on Ubuntu WSL2. I am trying to add SCSS/SASS with it. I already ...
1
vote
0answers
18 views

Installing npm on Ubuntu 20 requires Ubuntu CD [duplicate]

I have installed node correctly and now trying to install npm sudo apt install npm But I get Media change: please insert the disc labeled 'Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731)'...
0
votes
0answers
160 views

cordova: command not found

I have installed cordova in my machine with command npm install -g cordova after that when i tried to check the version of cordova with command cordova --version its showing as cordova: command not ...
2
votes
1answer
2k views

“/usr/bin/env: ‘node’: No such file or directory” on terminal startup

I just updated to 20.04 and every time I open a terminal /usr/bin/env: ‘node’: No such file or directory shows at the very top. I have searched for answers but in the questions I found, npm did not ...
1
vote
1answer
49 views

Problem Installing express-generator On Ubuntu

I have Graal JVM installed on Ubuntu 20.10. I tried installing express-generator, but I got this error message: $ npm install -g express-generator bash: /usr/lib/jvm/graalvm/bin/npm: No such file or ...
0
votes
1answer
54 views

Can not use npm install in project

I've installed node using nvm, but when I go in my project folder and try to run npm install it shows npm not found. However I tried to install gulp globaly with sudo npm install -g gulp it worked. ...
0
votes
0answers
60 views

I got this error during angular cli installation

This is my terminal's output: sudo npm install -g @angular/cli
0
votes
1answer
309 views

can't install npm package : E: Unable to correct problems, you have held broken packages [duplicate]

I tried to install npm package but it still gave the same output : check here the screenshot I even try this solution : npm can't be installed but still the same error occured ! plz help me !
0
votes
0answers
239 views

Bash script for git pre-commit problem issue on exit script

I have a bash script that runs on git post-commit hook. What it does is asking the user for an input and based on input it will trigger another action and exits. The problem is that it will not exit ...
1
vote
0answers
218 views

How to install npm in ubuntu 18.04 without breaking ROS melodic?

npm depends on libssl1.0-dev but ROS melodic installs libssl-dev. So installing npm is not possible as there are broken packages. Is there any workaround for this?
0
votes
1answer
1k views

old version of npm is installed on running apt-get install npm on Ubuntu 18.04

Trying to install npm using command sudo apt-get install npm on Ubuntu 18.04.2 LTS. expected 6.14.7 to be installed but 3.5.2 is being installed.
-1
votes
1answer
2k views

I am always getting the error “address already in use :::3000”

Error: listen EADDRINUSE: address already in use :::3000 at Server.setupListenHandle [as _listen2] (net.js:1280:14) at listenInCluster (net.js:1328:12) at Server.listen (net.js:1415:7)
2
votes
1answer
5k views

How to install node.js version 10 on Ubuntu 18.04

I am trying to install node.js version10 on my ubuntu 18.04 but it is always installing version 8.10. I have tried different links. I have tried the following commands: $ sudo curl -sL https://deb....
1
vote
1answer
575 views

Why does NPM install so many packages?

When deploying Node and NPM on Ubuntu 20.04 I noticed that when you run sudo apt install npm it details a massive number of dependencies that it want's to install with it. Why is this? Surely it doesn'...
0
votes
1answer
10 views

Ubuntu delete count shows more files than initial count

I was deleting a git repo. I first cloned it and then did npm i to install the dependencies. But, then soon after installation completed I had to delete the repo folder. I selected the folder and did ...
0
votes
0answers
383 views

Why npm version is 6.9.0 on 12.x and 14.x?

I installed nodejs via nodesource.com/setup_12.x and nodesource.com/setup_14.x always install the correct version of node but npm is outdated and generates a compatibility error -> (cb.apply is not ...
2
votes
1answer
1k views

Unable to install Angular CLI

When I run the following command npm install -g @angular/cli I get following error npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 ...
2
votes
2answers
5k views

Ubuntu 20.04 should I downgrade libssl1.1 to libssl1.0 to install npm?

I'm trying to install npm and I found this solution. I run aptitude install npm and the suggested solution is The following packages have unmet dependencies: libssl-dev : Depends: libssl1.1 (= 1.1.1f-...
0
votes
0answers
54 views

permission issue while installing npm package as dev dependencies

Hai everyone i am new to ubuntu and i was using ubuntu dde-20.04.I have set my lap with dual boot ssd-windows and ubuntu with hdd.As i new i mess up with the partition mount points and lost my data ...
1
vote
1answer
391 views

Hash sum mismatch error while installing node js and npm

Err:37 http://archive.ubuntu.com/ubuntu focal/main DEP-11 64x64 Icons Hash Sum mismatch Hashes of expected file: - Filesize:162899 [weak] - SHA256:...
0
votes
0answers
110 views

how can I delete node js nightly?

I've tried various ways to clear this version of NodeJs. But in the end, this version is not deleted! I tried several methods like this: How to remove nodejs from Ubuntu 16.04?
1
vote
0answers
308 views

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)...
1
vote
0answers
184 views

Error trying to install Squarespace server in Ubuntu 20.04

I've been trying to get a local SquareSpace server running on a VM (Ubuntu 20.04), following the instructions in https://developers.squarespace.com/get-started When I run npm install -g @squarespace/...
1
vote
1answer
209 views

npm install expo-cli --global [closed]

error 1 core-js@2.6.11 postinstall: node -e "try{require('./postinstall')}catch(e){}" npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the core-js@2.6.11 postinstall script. npm ERR! This ...
0
votes
0answers
21 views

zsh bullet-train node version

Using zsh with the bullet-train theme. Messed around with Webstorm, trying to learn some basic react and didn't pay much attention to the cli prompt. Now I see there's this trailing v10.19.0, which ...
0
votes
0answers
910 views

Having Upgraded to Ubuntu 20.04, Node, NPM, and Angular Are Not Recognized!

I installed node, npm, and angular on Ubuntu 19.10 by using a NodeSource PPA: sudo apt install curl curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash - sudo apt-get install -y nodejs ...
0
votes
1answer
1k views

How can I fix this npm error installing electron?

When I use npm install electron -g, I get this error: npm ERR! code EEXIST npm ERR! path /usr/local/bin/electron npm ERR! Refusing to delete /usr/local/bin/electron: ../lib/node_modules/electron-...
2
votes
1answer
2k views

Why is the semver error happening?

frederick@frederickpina:~$ npm install internal/modules/cjs/loader.js:1023 throw err; ^ Error: Cannot find module 'semver' Require stack: /usr/share/npm/lib/utils/unsupported.js /usr/share/npm/...
0
votes
1answer
5k views

Why does the problem “npm WARN deprecated request@2.88.2: request has been deprecated” occur?

I have istalled latest version of node and npm. When I'm trying to install a global package (npm install -g firebase-tools), the terminal show me some errors. How can I solve the problem? Thanks.
4
votes
1answer
8k views

Uninstalling node and npm and then again reinstalling

I have run into an [issue] and looking to remove nodejs and npm completely and then install again. I have installed node from the terminal. What's the best way to do it? My system is Ubuntu 20.04LTS. ...
1
vote
1answer
2k views

Even after update node -v shows older version [duplicate]

I am trying to update node version. Even after updating node to v10.x it still shows older v8.x. I have added path where npm and node is installed and node and npm version. I also used nvm. I have ...
1
vote
1answer
762 views

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 ...

1
2 3 4 5 6