socketsupply / socket

A cross-platform runtime for Web developers to build desktop & mobile apps for any OS using any frontend library.
https://socketsupply.co/guides
Other
1.6k stars 76 forks source link

Windows arm64? #995

Open JoeLanglois opened 2 weeks ago

JoeLanglois commented 2 weeks ago

What OS are you using?

Windows on arm64 with compatibility layer for x64.

What version Socket Runtime are you using?

Cannot know as the script ssc -v won't run.

What did you expect to see and what you saw instead?

When I run 'ssc init', the following error comes up:

Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@socketsupply/socket-win32-arm64' imported from C:\Users\xxxx\AppData\Roaming\npm\node_modules\@socketsupply\socket\bin\ssc.js at packageResolve (node:internal/modules/esm/resolve:839:9) at moduleResolve (node:internal/modules/esm/resolve:908:18) at defaultResolve (node:internal/modules/esm/resolve:1038:11) at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:554:12) at ModuleLoader.resolve (node:internal/modules/esm/loader:523:25) at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:246:38) at onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:481:36) at TracingChannel.tracePromise (node:diagnostics_channel:337:14) at ModuleLoader.import (node:internal/modules/esm/loader:480:21) at defaultImportModuleDynamicallyForModule (node:internal/modules/esm/utils:214:31) { code: 'ERR_MODULE_NOT_FOUND' }

I expected the script to use the '@socketsupply/socket-win32-x64' package and run correctly.

Any way to make it compatible with win arm64 or how I could build it myself?

Thank you

jwerle commented 1 week ago

Hi @JoeLanglois,

You can clone the repository and build with .\bin\install.ps1 -verbose on a Windows machine. We do not have official support for Windows arm64 at the moment so there may be issues!