Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

npm install trying to download bundledDependencies #18352

Open
1 of 4 tasks
kanika46shah opened this issue Aug 30, 2017 · 1 comment
Open
1 of 4 tasks

npm install trying to download bundledDependencies #18352

kanika46shah opened this issue Aug 30, 2017 · 1 comment

Comments

@kanika46shah
Copy link

I'm opening this issue because:

  • npm is crashing.
  • npm is producing an incorrect install.
  • npm is doing something I don't understand.
  • Other (see below for feature requests):

What's going wrong?

Using Node v8.* with npm 5.* on Mac OS v10.12.3

Running npm install tries to download 'bundledDependencies' from the npm registry.
It fails with Error 404 as these are not hosted on npm registry.
Running with --verbose shows that the 'preinstall' lifecycle script tries to download bundledDependencies.

These dependencies are present in node_modules folder but still npm5 tries to pull them. Its working on npm version <= 5.

How can the CLI team reproduce the problem?

In package.json add the property:
'bundledDependencies': ['test-dependency']

And under node_modules folder, create a 'test-dependency' folder with basic package.json.
Running npm install should show the error.

Here is the gist of the npm-debug.log
https://gist.github.com/kanika46shah/baf509c5a766ea3a71701d921d6c4a31

@brecke
Copy link

brecke commented Mar 7, 2018

I am getting the same problem, did you find any workaround?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants