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

PKG running executable not working on every client? #1244

Closed
Rapid1898-code opened this issue Jul 1, 2021 · 3 comments
Closed

PKG running executable not working on every client? #1244

Rapid1898-code opened this issue Jul 1, 2021 · 3 comments

Comments

@Rapid1898-code
Copy link

Hello - i am using PKG to create an executable from a node.js program -
this worked fine on windows 10 clients - but when a try to run the program on another client (with windows 8) - i get this a little bit weird error message:

Node.js is only supported on Windows 8.1., Windows Server 2012 R2, or higher. Setting the NODE_SKIP_PLATFORM_CHECK environment variable to 1 skips this check, but Node.js might not execute correctly. Any issues encountered on unsupported platform will not be fixed.

Is there any reason or workaround so this executable is also working on Windows 8?
Do i have to use a different node-version for making the executable?

@jesec
Copy link
Contributor

jesec commented Jul 4, 2021

The warning message says it all.

No action would be taken. Please upgrade your system to a supported version.

@jesec jesec closed this as completed Jul 4, 2021
@Rapid1898-code
Copy link
Author

Yes thanks - with that
pkg prg.js --targets node12-win-x64
it seems to work also on Win8.1.

@BCsabaEngine
Copy link

Yes thanks - with that
pkg prg.js --targets node12-win-x64
it seems to work also on Win8.1.

Base nodejs droped support for win7: nodejs/node#31954

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants