Cross Compiling (WIN->ARM)
Hello~!
I am trying to automate the building and deploying process from WINDOWS to a ARMv7.
Currently I am developing on Windows, deploying the source code to ARMv7 and compiling there, since CPU cross compilation is not available.
I find the pkg\lib-es5\index.js and print _target3
pkg test.js -t node8-linux-armv7
{ nodeRange: 'node8', platform: 'linux', arch: 'armv7', output: 'C:\Users\bro\test', forceBuild: false, fabricator: { nodeRange: 'node8', platform: 'win', arch: 'armv7', forceBuild: false } }
Error! 404 Not Found https://github.com/zeit/pkg-fetch/releases/download/v2.3/uploaded-v2.3-node-v8.0.0-win-armv7
Can I compiling this in windows ?
Same here.
pkg ./.tmp/server/app.js -c package.json -t node8-linux-armv7
prints
> [email protected]
> Fetching base Node.js binaries to PKG_CACHE_PATH
fetched-v8.9.0-win-armv7 [ ] 0%
> Error! 404 Not Found
https://github.com/zeit/pkg-fetch/releases/download/v2.5/uploaded-v2.5-node-v8.9.0-win-armv7
> Asset not found by direct link:
{"tag":"v2.5","name":"uploaded-v2.5-node-v8.9.0-win-armv7"}
> Not found in GitHub releases:
{"tag":"v2.5","name":"uploaded-v2.5-node-v8.9.0-win-armv7"}
> Building base binary from source:
built-v8.9.0-win-armv7
> Error! Not able to build for 'armv7' here, only for 'x64'
Seems related to #285
Same issue, anyone have a solution?
Same here. No solution?
using system architecture x64, x86, etc.
When I changed : armv7 to x64 , it working and creating.
pkg . --target=node8-linux-x64 --debug
Install the binary using
$ chmod +x <target_file> $ ./<target_file>
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.