no such file or directory, stat '/root/.pkg-cache/v2.6/fetched-v10.15.3-win-x64.downloading'
See original GitHub issuesudo pkg index.js
> pkg@4.4.0
> Targets not specified. Assuming:
node10-linux-x64, node10-macos-x64, node10-win-x64
> Fetching base Node.js binaries to PKG_CACHE_PATH
fetched-v10.15.3-linux-x64 [====================] 100%
fetched-v10.15.3-macos-x64 [====================] 100%
fetched-v10.15.3-win-x64 [====================] 100%
> Error! Error: ENOENT: no such file or directory, stat '/root/.pkg-cache/v2.6/fetched-v10.15.3-win-x64.downloading'
using deepin linux distro
Issue Analytics
- State:
- Created 4 years ago
- Comments:6
Top Results From Across the Web
Binary not found · Issue #137 · vercel/pkg-fetch - GitHub
It uses pkg fetch package.json version in the format v${major}.${minnor} to get the github release, once it gets the release it checks in...
Read more >pkg-fetch - npm
Compiles and stores base binaries for pkg. Latest version: 3.4.2, last published: 5 months ago. Start using pkg-fetch in your project by ...
Read more >Building Node.js Binary with `pkg` for ARMv7 / Ubuntu 14 fails ...
I've got no clue where to go from here... Is there some way to compile the binary via pkg with different options, or...
Read more >How To Fix the “Enoent” Error? - Position Is Everything
The “enoent” can appear because of some missing files or usage of the relative path that can be solved by creating an expected...
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
Oh! got it now. I was using
docker
, it defaults to root user. Thankyou @robertsLando.Means that pkg has been run as root