-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] npm install - Bundled dependencies are not saved to package.json #3174
Comments
|
I can write another issue if you'd like. Please make this issue more about the missing behavior; not the documentation issue. |
It is, that is just a note for whoever picks this up. |
Hello, is there something we can do to help with this issue? It is affecting our operations at the Decentraland Community |
Current Behavior:
If you install any package with the bundled dependency flag:
...
<package-name>
is not added to thebundledDependencies
array in your package.json file.Expected Behavior:
When installing any package with the bundled dependency flag (
--save-bundle
or-B
), the package should be installed and added to thebundledDependencies
array in your package.json file.Steps To Reproduce:
npm init
.npm install <package-name> --save-bundle
.bundledDependencies
field does not exist, and<package-name>
is not listed within it.Environment:
Additional Comments:
Interestingly enough, if you run
npm install --help
on v7.11.2, you'll see:Notice that the
--save-bundle
flag IS NOT documented. However, if you read the v7 npm install docs, you'll see that the bundled dependency flags and behaviors ARE documented.The text was updated successfully, but these errors were encountered: