Questions tagged [npm-install]

npm install is a command in the npm CLI that searches for and installs a specified package from an npm repository.

is a package manager for .

npm install <packagename> is a command in the npm CLI that searches for and installs a specified package from an npm repository. In addition, it will install any packages that the specified package depends on.

Reference:

5374 questions
2
votes
2 answers

React Native : Warnings on npm install

I am creating a new react native app using react-navigation. Every time I do npm install --save react-navigation, I see a set of warnings related to react-native-gesture-handler. I am creating a brand new app using react-native init Test and the…
2
votes
1 answer

Getting the progress output of a child spawned process from nodejs

I'm playing in spawning npm install -g create-react-app from a js script. I want to get in real time the part of the output, where you can see the progress of the package's installation process. I mean this: But when I execute the script, the…
robe007
  • 3,523
  • 4
  • 33
  • 59
2
votes
1 answer

`npm install` not working. Unhandled rejection Error: EISDIR: illegal operation on a directory

I am developing an ionic 3 app. I developed it on windows 10 and everything was fine. But now I shift my work windows to mac. Now problem is when i run npm install command on mac, then it's not working. It shows Unhandled rejection Error. Full…
Amanullah Aman
  • 633
  • 1
  • 12
  • 29
2
votes
1 answer

Jenkins build fail - Error: not found: make

I try to create CI for my npm module, but I have the problem with NPM install command. I try to globally install gyp but nothing works for me. Is it problem with dependencies (package.json file is added after console output) or some configurations…
Vytautas Saulis
  • 141
  • 2
  • 6
2
votes
1 answer

Module not found: Error: Can't resolve 'tty' in '/workspace/node_modules/pace/node_modules/charm'

After trying to build my frontend project with ng build I get this error message: ERROR in ./node_modules/pace/node_modules/charm/index.js Module not found: Error: Can't resolve 'tty' in '/workspace/node_modules/pace/node_modules/charm' Trying…
2
votes
0 answers

How to speed up RUN npm in Dockerfile

I have all this npm stuff in my Dockerfile and it is taking a long time to build my docker image. How can I speed this up, and ideally cache the results? Nothing is changing, so I wouldn't expect this to take such a long time (about 20 seconds now).…
Scott Skiles
  • 3,647
  • 6
  • 40
  • 64
2
votes
1 answer

How to install node-win-shortcut by using npm

I am trying to add native Windows notifications to Zulip Electron using the electron-windows-notifications module. So I was reading the sample code given at…
2
votes
0 answers

How to work google earth engine in a text editor like Visual Studio code?

I am trying to work earth engine using a text editor like Visual studio Code. They have given a document on how to run the earth engine in the system. It is very confusing for me. The link to the document is npm install I tried all these in visual…
Gokul Anand
  • 177
  • 12
2
votes
2 answers

npm err! maximum call stack size exceeded

I am using NPM and the project was going all fine. After a while, I deleted the node_modules folder and started getting the error. System : Macbook Pro 2814 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" 2815 verbose node…
user1455310
2
votes
0 answers

npm install Error while executing: npm ERR! C:\Program Files\Git\cmd\git.EXE ls-remote -h -t ssh://git@github.com/eligrey/FileSaver.js.git

I created a new branch from sprint, and trying r=to run npm install and it fails with below errors I have tried running npm install -g npm and didnt work any help is appreciated :-)
2
votes
2 answers

How to fix 'Cannot find module './access-error.js' error when i'm going to install npm

I develop node api. When i changed project direction and call npm install then show me npm ERR! code MODULE_NOT_FOUND npm ERR! Cannot find module './access-error.js' please help me for install npm in direction project.
2
votes
2 answers

How to tell npm to not to install any dependency when somebody installs my npm module?

I have created an NPM module which is already built and published. so when somebody installs it, my module doesn't really need any extra dependency to work properly as it is already built. However, the current behavior is that when I install my…
Sivasankar
  • 753
  • 8
  • 22
2
votes
1 answer

mac downgrade node version still show last version

Im trying to downgrade my node version so I run on terminal on mac sudo npm cache clean -f sudo npm install -g n sudo n 9.10.0 then I try to check the version and it still as last version npm -v => 5.6 node -v => v10.11.0 in addition when I…
Manspof
  • 598
  • 26
  • 81
  • 173
2
votes
1 answer

I have added webpack-server still it shows this error while running npm start

Enterprise-User-Management@1.0.0 start C:\Users\503100765\Documents\USM\user-management set NODE_ENV=development && set API_ROOT=http://localhost:7010/api/v1 && webpack-serve --config ./config/webpack.dev.js 'webpack-serve' is not recognized as an…
Harshitha
  • 35
  • 2
  • 9
2
votes
2 answers

operation not permitted error npm while running lerna bootstrap -- hoist command on windows

Whenever I am running lerna bootstrap --hoist or lerna bootstrap I am getting the following error on my windows machine. I have already tried npm login and force cleaned the npm cache but nothing seems to be working. npm ERR! code EPERM npm ERR!…
Prateek Surana
  • 672
  • 9
  • 29