question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Investigate `npm ci` issues on azure

See original GitHub issue

Case 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:closed
  • Created 4 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
hmottestadcommented, Mar 9, 2020

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 😃

0reactions
luabudcommented, Aug 12, 2020

Closing as stale.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found