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
When compiling the node SDK, I got the following error with an M1 CPU.
npm ERR! error: failed to run custom build command for `temporal-sdk-core v0.1.0 (/Users/bergundy/temporal/sdk-node/packages/worker/native/sdk-core)`
npm ERR!
npm ERR! Caused by:
npm ERR! process didn't exit successfully: `/Users/bergundy/temporal/sdk-node/packages/worker/native/target/release/build/temporal-sdk-core-de4edef256dc9a6c/build-script-build` (exit code: 1)
npm ERR! --- stderr
npm ERR! Error: Custom { kind: Other, error: "failed to invoke protoc (hint: https://docs.rs/prost-build/#sourcing-protoc): Bad CPU type in executable (os error 86)" }
This is easily fixed by installing protobuf with brew install protobuf and exporting PROTOC=$(which protoc) (See tonic docs).
This is of course not critical but it would be nice to be able to have compilation "just work".
The text was updated successfully, but these errors were encountered:
When compiling the node SDK, I got the following error with an M1 CPU.
This is easily fixed by installing protobuf with
brew install protobuf
and exportingPROTOC=$(which protoc)
(See tonic docs).This is of course not critical but it would be nice to be able to have compilation "just work".
The text was updated successfully, but these errors were encountered: