-
Notifications
You must be signed in to change notification settings - Fork 349
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
yarn proto2ts
fails on Node 22
#1114
Comments
Wow, that's weird; I really can't figure out who is to blame. Turning on
And it seems like it's this Not sure if this is I scanned through tsx and node open issues and didn't find anything... If I update
Then I can run it directly like But if I run
What's interesting is that it looks like the contents of But that someone that is working just fine when invoking the file manually, but not working when protoc invokes it from within its plugin system... 🤔 |
Integration test compilation fails during the execution of the
yarn proto2ts
command withSyntaxError: Invalid regular expression flags
.Steps to reproduce
ts-proto-protoc
image (if it exists).yarn proto2ts
Example error
Workaround
ts-proto-protoc
imageFROM node:current-slim
toFROM node:20-bullseye-slim
inprotoc.Dockerfile
.yarn proto2ts
The text was updated successfully, but these errors were encountered: