-
Notifications
You must be signed in to change notification settings - Fork 64
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
Apple M1 #51
Comments
+1 |
How is the progress of this issue🤔️ |
Did you got any solution for this issue. |
How are you triggering this issue? I'm on an M1, and on npm install |
the error will be raised at runtime and not at the build/compile time. |
How are you triggering the error? I am on M1 and have no trouble using this package. The build triggers on install, which is where your error is coming from. |
I'm also seeing the same error at runtime on a M1. Install/build works fine and the error happens only during runtime when @TimothyJones I'm not entirely sure how the prebuild system works, but it looks like arm64 for darwin does not exist for ref-napi@3.0.3. Should i expect it to build on my mahcine? ls -la node_modules/ref-napi/prebuilds/
total 0
drwxr-xr-x 7 andrew staff 224 Dec 11 10:16 .
drwxr-xr-x 19 andrew staff 608 Dec 11 10:16 ..
drwxr-xr-x 4 andrew staff 128 Dec 11 10:16 darwin-x64
drwxr-xr-x 4 andrew staff 128 Dec 11 10:16 linux-arm64
drwxr-xr-x 4 andrew staff 128 Dec 11 10:16 linux-x64
drwxr-xr-x 4 andrew staff 128 Dec 11 10:16 win32-ia32
drwxr-xr-x 4 andrew staff 128 Dec 11 10:16 win32-x64
|
It looks like installing packages with |
I'm seeing this same issue, but |
This is what I'm getting at runtime:
|
Update: I was able to resolve the issue. I am using electron-builder and needed to use |
Maybe this helps someone, not sure. I only had this with Node < version 17. With version 17 I have other issues I am looking into right now, though |
How is the progress of this issue |
Error: No native build was found for platform=darwin arch=arm64 runtime=electron abi=85 uv=1 armv=8 libc=glibc node=12.18.3 electron=11.0.3
loaded from: /Users/shaun/.vscode-exploration/extensions/intersystems.language-server-1.0.5/server/node_modules/ref-napi
The text was updated successfully, but these errors were encountered: