pkg
pkg copied to clipboard
Not found in remote cache: node16-win-x86
What version of pkg are you using?
5.7.0
What version of Node.js are you using?
16.16.0
What operating system are you using?
macOS
What CPU architecture are you using?
Apple M1
What Node versions, OSs and CPU architectures are you building for?
node16-win-x86
Describe the Bug
When I try to make a build for target: node16-win-x86
I am seeing the following error message:
> [email protected]
> Fetching base Node.js binaries to PKG_CACHE_PATH
fetched-v16.15.0-win-x86 [ ] 0%
> Error! 404: Not Found
> Not found in remote cache:
{"tag":"v3.4","name":"node-v16.15.0-win-x86"}
Expected Behavior
Build succeeds without error.
To Reproduce
- nvm install 16
- Create a project
- Configure a target of node16-win-x86 in package.json
- pkg .
This is what i get when running the above, if i use node14 i get stuck with Could not find NASM, install it or build with openssl-no-asm. See BUILDING.md.
[email protected] Fetching base Node.js binaries to PKG_CACHE_PATH fetched-v16.15.0-win-x86 [ ] 0% Error! 404: Not Found Not found in remote cache: {"tag":"v3.4","name":"node-v16.15.0-win-x86"} Building base binary from source: built-v16.15.0-win-x86 Error! Not able to build for 'win' here, only for 'macos'
https://github.com/vercel/pkg/issues/1685#issue-1298240056 I have same problem
BUILDING.md.
- Install https://www.nasm.us/pub/nasm/releasebuilds/2.15.05/win64/
- Add System Environment Variable Path -> C:\Program Files\NASM
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
This issue is now closed due to inactivity, you can of course reopen or reference this issue if you see fit.
Not resolved.
Not resolved.
Do you know where the cache is stored?
Seem like they only build cache for x64 so If you want to use a prebuilt version, install NodeJs x64.