We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ReferenceError: window is not defined
As stated in protocolbuffers/protobuf#9152 there is a ReferenceError: window is not defined in PR #11
I have updated all the required libraries and the rollup configuration, but no luck. Any hints @theorm ?
The built doesn't work anymore for nodejs (I just need to add a TYPE_NAG btw...)
The text was updated successfully, but these errors were encountered:
I tried the solution proposed of switching to commonjs_strict, but then all import (and tests) fail:
protoc --js_out=import_style=commonjs_strict:. my_proto_file.proto
Sorry, something went wrong.
or a manual edit would be:
+var global = Function('return this')(); -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
Successfully merging a pull request may close this issue.
As stated in protocolbuffers/protobuf#9152 there is a
ReferenceError: window is not defined
in PR #11I have updated all the required libraries and the rollup configuration, but no luck. Any hints @theorm ?
The built doesn't work anymore for nodejs (I just need to add a TYPE_NAG btw...)
The text was updated successfully, but these errors were encountered: