pkg icon indicating copy to clipboard operation
pkg copied to clipboard

Tries to include wrong targets

Open DenizBasgoren opened this issue 7 years ago • 6 comments

when I type pkg -t latest-win-x86 index.js it first fetches latest-win-x86, then tries to fetch latest-linux-x86. When it tries to fetch latest-linux-x86 it throws an error telling that linux x86 can't be built on x64. I can't get it working.

DenizBasgoren avatar Jul 27 '19 18:07 DenizBasgoren

Same exact problem. I'm working on a mac and getting this:

rick$ yarn pkg . -t win-x86
yarn run v1.16.0
$ /Users/rick/sil/lessons-from-luke/node_modules/.bin/pkg . -t win-x86
> [email protected]
> Fetching base Node.js binaries to PKG_CACHE_PATH
  fetched-v12.2.0-win-x86      [====================] 100%
  fetched-v12.2.0-macos-x86    [                    ] 0%
> Error! 404 Not Found
  https://github.com/zeit/pkg-fetch/releases/download/v2.6/uploaded-v2.6-node-v12.2.0-macos-x86
> Asset not found by direct link:
  {"tag":"v2.6","name":"uploaded-v2.6-node-v12.2.0-macos-x86"}
> Not found in GitHub releases:
  {"tag":"v2.6","name":"uploaded-v2.6-node-v12.2.0-macos-x86"}
> Building base binary from source:
  built-v12.2.0-macos-x86
> Error! Not able to build for 'x86' here, only for 'x64'

rjconrad avatar Aug 19 '19 11:08 rjconrad

Getting the same error as well.

samiyaakhtar avatar Aug 31 '19 00:08 samiyaakhtar

same: https://github.com/zeit/pkg/issues/735 related: https://github.com/zeit/pkg-fetch/issues/68

teppeis avatar Oct 26 '19 03:10 teppeis

Same issue. When trying to build Win32 inside an alpine docker PK tries downloading the alpine x86. Wut???

karlsnyder0 avatar Nov 16 '19 19:11 karlsnyder0

This issue is stale because it has been open 90 days with no activity. Remove the stale label or comment or this will be closed in 5 days. To ignore this issue entirely you can add the no-stale label

github-actions[bot] avatar Apr 01 '21 00:04 github-actions[bot]

This issue is now closed due to inactivity, you can of course reopen or reference this issue if you see fit.

github-actions[bot] avatar Apr 06 '21 00:04 github-actions[bot]