-
Notifications
You must be signed in to change notification settings - Fork 132
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
@protobuf-ts/protoc installed globally hangs when run #475
Comments
I always make sure to run protoc using
Also, if you're just looking to compile some |
Thanks for the response @ColinLaws. We're doing stuff cross-platform and in different environments (i.e. developer machine vs. CI) and being able to install the That being said, I actually did get things working on a per-project basis:
So far seems to be working great 🤷♂️ |
I had the same problem. The lib is supposed to install it out of the box and for example When installing the I ended up doing |
I guess this is an issue with yarn and this package. I observed the following:
(I should probably mention that I'm using yarn v4 with pnp mode) |
Running into an issue when trying to run
protoc
after installing the package globally.Installation works:
$ npm install -g @protobuf-ts/protoc changed 1 package, and audited 2 packages in 601ms found 0 vulnerabilities
But I'm unable to run the resulting binary (script):
Running
protoc
just hangs.I'm not sure if installing it globally is supported or not - it works fine when installed locally on a per-project basis.
Thanks!
The text was updated successfully, but these errors were encountered: