Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Not working for V4.4 on windows #710

Closed
infinityseth opened this issue Jun 4, 2019 · 5 comments
Closed

Not working for V4.4 on windows #710

infinityseth opened this issue Jun 4, 2019 · 5 comments
Labels

Comments

@infinityseth
Copy link

I tried to make a package & installed the latest version 4.4, its trying to fecth some binaries from this url

https://github.com/zeit/pkg-fetch/releases/download/v2.6/uploaded-v2.6-node-v10.15.3-linux-x86

which is returning 404 and exiting process.

@Reterics
Copy link

For me too, no error message, just exit.
I created binaries on MacOS Mojave 10.14 for Linux,Windows,Macos and only Windows is crashing...
When i created binaries on WIndows 10 x64 for Linux,Windows,Macos, it was working on every system.

This Macos build issue repeated in earlier OS and PKG versions too, so this is not a new problem...

@TinHengWan-Derek
Copy link

I had the same issue, try to downgrade to V4.3.7 and it works for me

@danthegoodman
Copy link

I also came across this issue. It has to do with pkg's attempt to compile your app into binary into the exe instead of leaving it in source format.

Here are some workarounds I've found:

  1. Find a way to build and supply your own version of node, compiled in 32-bit mode. I have no idea how feasible this is.
  2. Build your pkg targeting a 32-bit machine from a windows machine with the 32-bit version of node
  3. Stop distributing a 32-bit version of your package.

Alternatively, if you're comfortable with shipping your source code instead of having it compiled into a binary format, you can disable that feature by passing the following arguments to pkg:

--no-bytecode --public --public-packages '*'

@github-actions
Copy link

github-actions bot commented Apr 1, 2021

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 github-actions bot added the Stale label Apr 1, 2021
@github-actions
Copy link

github-actions bot commented Apr 6, 2021

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

@github-actions github-actions bot closed this as completed Apr 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants