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
1 answer

electron install error : Generated checksum for "electron-v2.0.2-win32-x64.zip" did not match expected checksum

I want to install latest electron version in my existing angular application.So I followed npm command to install it. Command : npm i electron@latest Expected Behavior Electron should installed successfully. Actual Behavior So, Whenever I tried to…
2
votes
1 answer

NPM Install Error | Text File is Busy, Unlink

Getting this error when running sudo npm install --force --no-bin-links within project folder. Below is the error I'm receiving. It looks like it keeps renaming some of the nodes. I go into the actual folder and remove the #s at the end, but when I…
Matt Pierce
  • 807
  • 3
  • 22
  • 45
2
votes
3 answers

How to get the root of project which installed my npm module?

I am developing an NPM package. Now I want to know the easiest way to get the root of the project which utilizes my custom package. Within my package itself it is pretty easy to get the root in node.js like so: __dirname This points to the root of…
Stephan-v
  • 19,255
  • 31
  • 115
  • 201
2
votes
1 answer

NPM Registry Error 503

I want to compile my angular app while I got the error "npm ERR! 503 No healthy backends: gulp-cli@latest" error stack: npm ERR! code E503 npm ERR! 503 No healthy backends: gulp-cli@latest npm ERR! A complete log of this run can be found…
Rollsbean
  • 715
  • 2
  • 11
  • 31
2
votes
1 answer

NPM install error? Vulnerabilities found

Recently, I have been getting this error and do not know how to fix. I never gotten this error before. npm install output: 42 vulnerabilities found I tried using npm audit and ran the npm update _____, but it didn't resolve vulnerabilities. What…
Emenpy
  • 143
  • 1
  • 11
2
votes
3 answers

npm install with several package.json

I have a project that has a submodule which also has a submodule, each of them (root & submodule_1 & submodule_2) have a package.json. Here is how I scaffolded my project…
GaldanM
  • 125
  • 2
  • 12
2
votes
1 answer

How to remove warning by npm?

When I run npm install, I get the following error: npm WARN eslint-config-react-app@2.1.0 requires a peer of eslint-plugin-jsx-a11y@^5.1.1 but none is installed. You must install peer dependencies yourself. Here is what my package.json looks…
Ralph David Abernathy
  • 5,230
  • 11
  • 51
  • 78
2
votes
0 answers

fibers@1.0.15 install node_modules/fibers node build.js || nodejs build.js

I'm have error when trying to run sudo npm install in node 10, in local server its work perfect. error: fibers@1.0.15 install /home/tickets/www/tickets_parser/node_modules/fibers node build.js || nodejs build.js gyp ERR! configure error gyp…
Michael Fedorov
  • 81
  • 2
  • 10
2
votes
2 answers

You must install peer dependencies yourself

sudo npm install result: npm WARN karma-sinon-chai@1.3.4 requires a peer of sinon@>=2.1.0 <5 but none is installed. You must install peer dependencies yourself.
2
votes
1 answer

npm installs optional dependency 'chromedriver' for no reason

I am on NPM version 5.8.0, I ran this command: npm install --no-optional --silent chromedriver is declared as an optional dep: "optionalDependencies": { "chromedriver": "^2.35.0" }, when I ran the install command, npm installed…
user7898461
2
votes
0 answers

Using gulp to install jquery & bootstrap4 returns undefined property error

I am trying to build a wordpress site with bootstrap 4 as a dependency using npm and gulp but cant seem to figure out why I keep getting this error when trying to run gulp: $$$1.fn.emulateTransitionEnd = transitionEndEmulator; …
AndrewL64
  • 15,794
  • 8
  • 47
  • 79
2
votes
1 answer

NPM Bandwidth Usage

Is there a way to configure NPM to first check my system for already downloaded packages/versions rather than always pull everything down from the internet? The bandwidth consumption is so huge for even the tiniest react or angular project. Is this…
user1729972
  • 712
  • 2
  • 9
  • 29
2
votes
0 answers

On First But Not Second `npm i`, I get 'TypeError: Converting circular structure to JSON' with Bluebird

Here's what happens - notice that the stack trace shows use of a global install of bluebird, which is of course a hint at the problem: $foo/my-node-project npm install /usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:61 …
christopherbalz
  • 722
  • 1
  • 8
  • 22
2
votes
2 answers

fs.js:646 return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);

I am new with angular 5 , Currently i have updated my project which was in angular 2 to 5 , but while i am running npm install command i am getting following error . fs.js:646 return binding.open(pathModule._makeLong(path), stringToFlags(flags),…
Bijay Kumar Rai
  • 77
  • 1
  • 10
2
votes
0 answers

Make npm install faster

An average npm install seems to take around 44 seconds on my machine for a new Angular project, when created using the Angular CLI. I looked at the usage of the computer resources but I didn't see anything being used at 100% (CPU, RAM, Disk,…
Jack Pope
  • 33
  • 5