You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I built a self-contained (not sure if this is the same as single executable app) by running following https://nodejs.org/api/single-executable-applications.htmlpkg . in the source code folder (in my macoS machine). And it gave me 3 executables for different OS.
I used the windows one in a windows machine and it shows this error:
PS C:\Users\User\Desktop\avocado> .\avocado.exe --version
Program 'avocado.exe' failed to run: The specified executable is not a valid application for this OS platform.At
line:1 char:1
+ .\avocado.exe --version
+ ~~~~~~~~~~~~~~~~~~~~~~~.
At line:1 char:1
+ .\avocado.exe --version
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (:) [], ApplicationFailedException
+ FullyQualifiedErrorId : NativeCommandFailed
Details
I built a self-contained (not sure if this is the same as single executable app) by running following https://nodejs.org/api/single-executable-applications.html
(in my macoS machine). And it gave me 3 executables for different OS.pkg .
in the source code folderI used the windows one in a windows machine and it shows this error:
Node.js version
21.3.0
Example code
https://github.com/Drjacky/Avocado
Operating system
macOS
Scope
runtime
Module and version
Not applicable.
Related
vercel/pkg#2031
nodejs/single-executable#85
vercel/pkg#2037
The text was updated successfully, but these errors were encountered: