Failure executing pkg: Error! 404 Not Found
See original GitHub issueHi, while trying to build our project, one of the steps is to convert our node-based application into an win32 executable. We use pkg
for that. However, since yesterday, it seems to be failing with the following error:
C:\...\>npx pkg . -t win --out-path dist
npx: installed 173 in 12.245s
> pkg@4.5.0
> Fetching base Node.js binaries to PKG_CACHE_PATH
fetched-v14.16.0-win-x64 [ ] 0%
> Error! 404 Not Found
https://github.com/zeit/pkg-fetch/releases/download/v2.6/uploaded-v2.6-node-v14.16.0-win-x64
> Asset not found by direct link:
{"tag":"v2.6","name":"uploaded-v2.6-node-v14.16.0-win-x64"}
> Not found in GitHub releases:
{"tag":"v2.6","name":"uploaded-v2.6-node-v14.16.0-win-x64"}
> Building base binary from source:
built-v14.16.0-win-x64
> Cloning Node.js repository from GitHub...
git [ ] 0%^CTerminate batch job (Y/N)?
I’m aware of the recent faulty release of 2.7.0 that caused this, and the subsequent 2.6.10 release that was supposed to fix this issue. However, it still seems to be failing.
As we are about to release a new version of our product, is there any work around available such that we can move on, like specifying specific versions of pkg and/or pkg-fetch in our package.json?
Issue Analytics
- State:
- Created 2 years ago
- Comments:7
Top Results From Across the Web
npm 404 Not found, well known package - Stack Overflow
Trying to install 7zip-bin package using npm, bring this error: npm ERR! code E404 npm ERR! 404 Not Found: 7zip-bin@5.0.3 npm ERR!
Read more >How to fix apt 404 Not Found error on Debian/Ubuntu
You may encounter a “404 Not Found” error when you want to install a package in a Debian-based host. The reason is quite...
Read more >How can I fix a 404 Error when using a PPA or updating my ...
The 404 or Not Found error message is a HTTP standard response code indicating that the client was able to communicate with the...
Read more >The yum command fails with the "HTTP Error 404 -Not Found ...
Problem description A similar error occurs when you run yum -y install XXX , yumlist , or yum search XXX command to obtain...
Read more >How to Fix Ubuntu/Debian apt-get 404 Not Found Repository ...
When using the desktop version of Ubuntu you'll eventually get or probably have the problem that apt-get update throws a lot "Failed to ......
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
@ipapast , you suggestion https://github.com/vercel/pkg-fetch/issues/134#issuecomment-808113169 seems to be working. If I change the command to:
npx pkg . -t node14.4.0-win --out-path dist
it works.Thanks!
@robertsLando it would be more convenient if you would close the issue after the fix was committed, so the participants could be notified about the fix