Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Windows arm64 #77

Closed
mhalada opened this issue Oct 2, 2024 · 2 comments
Closed

Add support for Windows arm64 #77

mhalada opened this issue Oct 2, 2024 · 2 comments

Comments

@mhalada
Copy link

mhalada commented Oct 2, 2024

Hey there,

when trying to use the @cryptlex/lexactivator package on Windows 11 with ARM64 processor, it fails with the following message:

PS C:\git\test-app> npx ts-node --project tsconfig.json hello-world.ts
Error: Cannot find module 'C:\git\test-app\node_modules\@cryptlex\lexactivator\lib\bindings\windows\arm64\lexactivator.node'
Require stack:
- C:\git\test-app\node_modules\@cryptlex\lexactivator\lib\lexactivator-native.js
- C:\git\test-app\node_modules\@cryptlex\lexactivator\lib\lexactivator.js
- C:\git\test-app\node_modules\@cryptlex\lexactivator\lib\index.js
- C:\git\test-app\hello-world.ts
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:995:15)
    at Function.Module._resolveFilename.sharedData.moduleResolveFilenameHook.installedValue [as _resolveFilename] (C:\git\test-app\node_modules\@cspotcode\source-map-support\source-map-support.js:811:30)
    at Function.Module._load (node:internal/modules/cjs/loader:841:27)
    at Module.require (node:internal/modules/cjs/loader:1061:19)
    at require (node:internal/modules/cjs/helpers:103:18)
    at Object.<anonymous> (C:\git\test-app\node_modules\@cryptlex\lexactivator\src\lexactivator-native.ts:10:35)
    at Module._compile (node:internal/modules/cjs/loader:1159:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
    at Object.require.extensions.<computed> [as .js] (C:\git\test-app\node_modules\ts-node\src\index.ts:1608:43)
    at Module.load (node:internal/modules/cjs/loader:1037:32) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    'C:\\git\\test-app\\node_modules\\@cryptlex\\lexactivator\\lib\\lexactivator-native.js',
    'C:\\git\\test-app\\node_modules\\@cryptlex\\lexactivator\\lib\\lexactivator.js',
    'C:\\git\\test-app\\node_modules\\@cryptlex\\lexactivator\\lib\\index.js',
    'C:\\git\\test-app\\hello-world.ts'
  ]
}

as bindings for arm64 aren't available for Windows, nor there are LexActivator library binaries present for arm64.

Could you please add these?

@ahmad-kemsan
Copy link
Collaborator

Hi @mhalada,

Thanks for reaching out.

Support for arm64 on Windows is already part of our roadmap, and it is expected to be available within the next two months. We will keep you informed as we make progress.

@ahmad-kemsan
Copy link
Collaborator

Hi @mhalada,

The support for windows arm64 has been added to LexActivator. Please upgrade the package version to the latest.

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

No branches or pull requests

2 participants