grpc-tools broken on mac OS?
See original GitHub issueProblem description
When I try to generate static code with grpc-tools, I run into this error:
dyld: lazy symbol binding failed: Symbol not found: ____chkstk_darwin
Referenced from: /Users/mariehoeger/Documents/repos/ProjectBrasilia/src/Workers/NodeWorker/node_modules/grpc-tools/bin/protoc (which was built for Mac OS X 10.15)
Expected in: /usr/lib/libSystem.B.dylib
dyld: Symbol not found: ____chkstk_darwin
Referenced from: /Users/mariehoeger/Documents/repos/ProjectBrasilia/src/Workers/NodeWorker/node_modules/grpc-tools/bin/protoc (which was built for Mac OS X 10.15)
Expected in: /usr/lib/libSystem.B.dylib
Reproduction steps
Run command:
grpc_tools_node_protoc --js_out=import_style=commonjs,binary:./src/channels/cloudEvent/grpc/static_codegen/ --grpc_out=grpc_js:./src/channels/cloudEvent/grpc/static_codegen/ --plugin=protoc-gen-grpc=`which grpc_tools_node_protoc_plugin` cloudevent.proto
with grpc-tools@1.9.0 and mac OS High Sierra
Environment
- OS name, version and architecture: mac OS High Sierra (10.13.6)
- Node version: v12.16.3
- Node installation method: nvm
- Package name and version: grpc-tools@1.9.0
Additional context
I got this to work with grpc-tools@1.6.6. I landed on this version by looking at the last version that was here https://node-precompiled-binaries.grpc.io/
I also installed with npm i grpc-tools
, not npm i -g grpc-tools
and am running the command grpc_tools_node_protoc
from an npm script
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (2 by maintainers)
Top Results From Across the Web
Error on gRPC tools installation - Stack Overflow
While I tried to install gRPC tools (in Python), I came up with error like ... Could anyone tell me how to fix...
Read more >Visual Studio 2019 for Mac v8.10 - Release Notes
Visual Studio 2019 for Mac version 8.10 Release Notes ... This is a problem with macOS platform detection in the gRPC.Tools NuGet package...
Read more >Apple Silicon — Docker — dotnet — gRPC - Daniel Stoyanoff
Fix the build errors and run again. This is the output when running from a native terminal. If we now try under Rosetta,...
Read more >grpc-tools - npm
Tools for developing with gRPC on Node.js. Latest version: 1.12.3, last published: 20 days ago. Start using grpc-tools in your project by ...
Read more >Grpc.Tools 2.51.0 - NuGet
Version Downloads Last updated
2.51.0 73,839 19 days ago
2.51.0‑pre1 4,282 a month ago
2.50.0 621,812 2 months ago
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
same. macOS 10.13.6 , grpc-tools@^1.10.0
same. macOS 10.13.6 (17G65), “grpc-tools”: “^1.11.1”,
Command: