Unable to run anything from the Getting Started guidance on apple silicon #727
Unanswered
JamesHenry
asked this question in
Q&A
Replies: 1 comment 7 replies
-
Checkout your Node.js arch, seems like your Node.js is Just log |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
I opened this as a discussion rather than an issue because I can't help feeling like I must be misunderstanding on my end (I am freely willing to admit that architecture + native compiler concerns are outside my wheelhouse).
Thank you so much in advance for any guidance you give 🙏
(For reference, I am able to build and run Rust programs via Cargo on this same machine without any problems)
Env details:
What I am experiencing
I tried both the CLI new option, and using the Github based template repo - both yield the same results
When I run
yarn build/npm run build
it fails saying that the moduleiconv-lite
is missing. Again, this feels like it would be so obviously broken that I don't understand why everyone isn't running into this so must be something on my end? (And again this happens with both the CLI new and your template)If I manually install
iconv-lite
to move past this the build succeeds and produces e.g.package-template.darwin-arm64.node
If I then run
node index.js
, or use yoursimple-test.js
which requires inindex.js
, I getCan not load bindings
with no more information:.node
file directly I get:Beta Was this translation helpful? Give feedback.
All reactions