Investigate `npm ci` issues on azure
See original GitHub issueCase 1:
This is the common reason why npm ci
fails. This is apparently caused by bundled dependencies inside some packages.
10878 verbose stack Error: ENOENT: no such file or directory, open 'd:\a\1\s\node_modules\chokidar\node_modules\fsevents\node_modules\node-pre-gyp\package.json'
10879 verbose cwd d:\a\1\s
10880 verbose Windows_NT 10.0.14393
10881 verbose argv "C:\\hostedtoolcache\\windows\\node\\10.11.0\\x64\\node.exe" "C:\\npm\\prefix\\node_modules\\npm\\bin\\npm-cli.js" "ci"
10882 verbose node v10.11.0
10883 verbose npm v6.10.3
10884 error code ENOENT
10885 error syscall open
10886 error path d:\a\1\s\node_modules\chokidar\node_modules\fsevents\node_modules\node-pre-gyp\package.json
10887 error errno -4058
10888 error enoent ENOENT: no such file or directory, open 'd:\a\1\s\node_modules\chokidar\node_modules\fsevents\node_modules\node-pre-gyp\package.json'
10889 error enoent This is related to npm not being able to find a file.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
ENOENT errors during "npm ci" - Visual Studio Feedback
We seem to be getting sporadic ENOENT errors when doing npm ci . Most of the time re-running the failed job works and...
Read more >Troubleshoot pipeline runs - Azure DevOps - Microsoft Learn
If a pipeline doesn't start at all, check the following common trigger related issues. UI settings override YAML trigger setting; Pull request ...
Read more >azurite - npm
Provide support for multiple azure storage accounts and authentication; Detailed debug logging for easy issue investigation and request tracking ...
Read more >Azure pipeline for npm publish does not work as expected
Finally I found the issue. The Pipeline definition was actually right, besides one little thing: versionSpec: '10.x'. Version of the Node ...
Read more >How to troubleshoot NPM problems - JFrog
Common NPM queries and a reference to correct API calls. ... 50X: Server problem, examine the artifactory-service.log (7.
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
FYI. I’m seeing this with GitHub actions today too. So by no means fixed. Found this thread while googling. Good to know I’m not alone 😃
Closing as stale.