Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always downloading failure. Can I download it manually? #419

Open
Fantasy9527 opened this issue May 11, 2018 · 5 comments
Open

Always downloading failure. Can I download it manually? #419

Fantasy9527 opened this issue May 11, 2018 · 5 comments

Comments

@Fantasy9527
Copy link

@Fantasy9527 Fantasy9527 commented May 11, 2018

> Fetching base Node.js binaries to PKG_CACHE_PATH
  fetched-v8.9.0-linux-x64     [                    ] 2%
> Error! ESOCKETTIMEDOUT
> Asset not found by direct link:
  {"tag":"v2.5","name":"uploaded-v2.5-node-v8.9.0-linux-x64"}
  fetched-v8.9.0-linux-x64     [=================   ] 85%
> Error! ESOCKETTIMEDOUT
localhost:automation-config fan$ pkg -t node8-linux index.js
> pkg@4.3.1
> Fetching base Node.js binaries to PKG_CACHE_PATH
  fetched-v8.9.0-linux-x64     [=                   ] 4%^C
localhost:automation-config fan$ pkg -t node8-linux index.js
> pkg@4.3.1
> Fetching base Node.js binaries to PKG_CACHE_PATH
  fetched-v8.9.0-linux-x64     [                    ] 0%
> Error! ETIMEDOUT
> Asset not found by direct link:
  {"tag":"v2.5","name":"uploaded-v2.5-node-v8.9.0-linux-x64"}
  fetched-v8.9.0-linux-x64     [                    ] 0%^C
localhost:automation-config fan$ pkg -t node8-linux index.js
> pkg@4.3.1
> Fetching base Node.js binaries to PKG_CACHE_PATH
  fetched-v8.9.0-linux-x64     [                    ] 0%^C
localhost:automation-config fan$ pkg -t node8-linux index.js
> pkg@4.3.1
> Fetching base Node.js binaries to PKG_CACHE_PATH
  fetched-v8.9.0-linux-x64     [                    ] 1%^C
localhost:automation-config fan$ pkg -t node8-linux index.js
> pkg@4.3.1
> Fetching base Node.js binaries to PKG_CACHE_PATH
  fetched-v8.9.0-linux-x64     [                    ] 0%
> Error! ETIMEDOUT
> Asset not found by direct link:
  {"tag":"v2.5","name":"uploaded-v2.5-node-v8.9.0-linux-x64"}
  fetched-v8.9.0-linux-x64     [                    ] 1%^C
localhost:automation-config fan$ pkg -t node8-linux index.js
> pkg@4.3.1
> Fetching base Node.js binaries to PKG_CACHE_PATH
  fetched-v8.9.0-linux-x64     [                    ] 0%
> Error! ETIMEDOUT
> Asset not found by direct link:
  {"tag":"v2.5","name":"uploaded-v2.5-node-v8.9.0-linux-x64"}
  fetched-v8.9.0-linux-x64     [=====               ] 23%
> Error! ESOCKETTIMEDOUT
localhost:automation-config fan$ pkg -t node8-linux index.js
> pkg@4.3.1
> Fetching base Node.js binaries to PKG_CACHE_PATH
  fetched-v8.9.0-linux-x64     [=                   ] 6%
> Error! ESOCKETTIMEDOUT
> Asset not found by direct link:
  {"tag":"v2.5","name":"uploaded-v2.5-node-v8.9.0-linux-x64"}
localhost:automation-config fan$ pkg -t node8-linux index.js
> pkg@4.3.1
> Fetching base Node.js binaries to PKG_CACHE_PATH
  fetched-v8.9.0-linux-x64     [                    ] 0%
> Error! ETIMEDOUT
> Asset not found by direct link:
  {"tag":"v2.5","name":"uploaded-v2.5-node-v8.9.0-linux-x64"}
  fetched-v8.9.0-linux-x64     [                    ] 0%
> Error! ESOCKETTIMEDOUT
localhost:automation-config fan$ pkg -t node8-linux index.js
> pkg@4.3.1
> Fetching base Node.js binaries to PKG_CACHE_PATH
  fetched-v8.9.0-linux-x64     [                    ] 2%^C
localhost:automation-config fan$ pkg -t node8-linux index.js
> pkg@4.3.1
> Fetching base Node.js binaries to PKG_CACHE_PATH
  fetched-v8.9.0-linux-x64     [                    ] 1%
> Error! ESOCKETTIMEDOUT
> Asset not found by direct link:
  {"tag":"v2.5","name":"uploaded-v2.5-node-v8.9.0-linux-x64"}
  fetched-v8.9.0-linux-x64     [==                  ] 10%
> Error! ESOCKETTIMEDOUT
@SridharRamasami

This comment has been minimized.

Copy link

@SridharRamasami SridharRamasami commented Jun 4, 2018

+1
I have faced the same problem.

@gig4byt3

This comment has been minimized.

Copy link

@gig4byt3 gig4byt3 commented Jun 5, 2018

Download it from here https://github.com/zeit/pkg-fetch/releases and place it to the .pkg-cache directory.

@micka753

This comment has been minimized.

Copy link

@micka753 micka753 commented Jul 19, 2018

It does not work I put "uploaded-v2.5-node-v8.11.3-win-x64" in .pkg cache but it is still failing.

pkg index.js --targets node8

pkg@4.3.3
Fetching base Node.js binaries to PKG_CACHE_PATH

Error! tunneling socket could not be established, statusCode=407
Asset not found by direct link:
{"tag":"v2.5","name":"uploaded-v2.5-node-v8.11.3-win-x64"}
Error! tunneling socket could not be established, statusCode=407

@gig4byt3

This comment has been minimized.

Copy link

@gig4byt3 gig4byt3 commented Jul 30, 2018

Path for me is ~/.pkg-cache/v2.5/fetched-v9.2.1-linux-x64 on arch linux.

@henres

This comment has been minimized.

Copy link

@henres henres commented Dec 21, 2018

Hello,
I do pgk-fetch just before pkg build in docker and that's fixed my problem

pkg-fetch node10 linux x64 \
&& pkg app.js -t node10-linux-x64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants
You can’t perform that action at this time.