Packages installed with napa removed after install other package
See original GitHub issueI have in my package.json
"napa": {
"foo": "author/foo#branch"
},
"scripts": {
"install": "napa"
},
"devDependencies": {
"napa": "^3.0.0"
}
When i do npm i
, napa creates node_modules/foo
with my module.
But when i do npm i -D other-package
, directory node_modules/foo
will be removed.
What i do wrong?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:6
- Comments:5
Top Results From Across the Web
PRODUCT WARRANTY POLICY - NAPA Auto Parts
For NAPA Drive Motor Batteries, warranty is void if any of these conditions occur: tampering or removal of manufacuturing. ID labels or “Warranty...
Read more >Why does 'npm install' remove my installed packages in ...
In my case it happened due to outdated package-lock.json (it was not commited to git after latest package.json change).
Read more >salt.modules.pkgutil
Remove a package and all its dependencies which are not in use by other packages. name. The name of the package to be...
Read more >Package Manager Issues (Pop!_OS) - System76 Support
apt autoremove --purge - Running this command with no specified package will remove any packages that were previously dependencies for other installed packages...
Read more >11.2. Installing and Removing Packages
You can install and remove multiple packages by selecting packages to be installed / removed and then clicking Apply. The Package selections window...
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 FreeTop 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
Top GitHub Comments
I have a PR that might solve this issue by allowing you to specify a different folder for napa dependencies, such as
vendor
. See #84.Ah, ok – I did not know this. Thanks for the clarification