npm >= 5's prune reinstalls ignored node modules
See original GitHub issueSince version 5, npm prune
reinstalls all missing dependencies, this breaks electron-packager’s --ignore
option when --no-prune
is not set.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:5 (2 by maintainers)
Top Results From Across the Web
npm-prune
Description. This command removes "extraneous" packages. If a package name is provided, then only packages matching one of the supplied names are removed....
Read more >How to clean up node modules? | by Mario Kandut | Medium
There are two ways to clean up the node_modules folder: Delete the folder and reinstall; Use npm prune (starting with npm version 6)....
Read more >npm command to uninstall or prune unused packages in Node.js
Run npm prune to remove modules not listed in package.json . From npm help prune : This command removes "extraneous" packages. If a...
Read more >How to clean up node modules? - Mario Kandut
There are two ways to clean up the node_modules folder: Delete the folder and reinstall; Use npm prune (starting with npm version 6) ......
Read more >yarn install
If you are used to using npm you might be expecting to use --save or --save-dev . ... Use this flag to instruct...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The current workaround is to set
--no-package-manager
.Thanks !