Comments (1)
That flag does not mean ignores package.json
it means ignores files in node_modules
. npm install
itself is always potentially a write operation. It is especially a write operation when you ask it to install a package spec.
If you want to only update your tree without writing to the package.json file, use npm update
from cli.
Related Issues (20)
- Problem: CORS Error When Accessing Swagger API Deployed on AWS EC2 HOT 1
- Error: The programmatic API was removed in npm v8.0.0 HOT 7
- [BUG] npx fails to find local packages in project directory when using fnm HOT 1
- [BUG] `npm pack` marks the wrong files as executable
- npm error code ENOENT npm error syscall lstat npm error path C:\Users\hoang\AppData\Roaming\npm npm error errno -4058 npm error enoent ENOENT: no such file or directory, lstat 'C:\Users\hoang\AppData\Roaming\npm' npm error enoent This is related to npm not being able to find a file. npm error enoent npm error A complete log of this run can be found in: C:\Users\hoang\AppData\Local\npm-cache\_logs\2024-09-02T15_31_36_800Z-debug-0.log HOT 1
- [DOCS] arborist doesnt mention pnpm and yarn support
- [BUG] npm error Exit handler never called! HOT 7
- [BUG] <title> error in RUN npm install HOT 1
- [BUG] Failed to publish package to `registry.npmjs.org` HOT 2
- [BUG] 10.8.3 does not publish workspace packages when package-spec is a path to a workspace root HOT 3
- [BUG] Auto install of transitive optional peer if also specified as dev HOT 3
- [BUG] Local modules can't use relative paths on Windows HOT 2
- [BUG] script file `.ps1` in `\AppData\Roaming\npm` does not explicitly invoke `node` HOT 3
- [BUG] Shebang is not valid for project dir and npm pack HOT 9
- [BUG] cannot build from working copy HOT 5
- [BUG] npm install --offline fails with ENOTCACHED even if dependencies are installed HOT 1
- Changes to package.json when running fix during publishe are not saved to filesystem HOT 2
- [BUG] Publishing with npmlibpublish returns status 429 HOT 1
- [BUG] <title> HOT 2
- [BUG] <title>write EPROTO 101057795:error:04091068 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cli.