-
Notifications
You must be signed in to change notification settings - Fork 227
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
Typescript transpilation fails #1548
Comments
I'm also getting these compile errors after upgrading to On versions
|
I'm able to get rid of the compile errors if I manually go into the listed files in my node_modules and change the erroring imports into default imports:
|
Maybe hardcoding the Long version to v4? dcodeIO/long.js#109 |
For a temporal solution, this worked in
|
Hmm, this looks like it might be related to the effort to update from Node 10. @bcoe ? |
Looks fixed with https://github.com/googleapis/nodejs-pubsub/releases/tag/v2.19.4 |
Ah right, it was probably related to this: grpc/grpc-node#2110 |
After upgrading the library from
2.19.0
to2.19.3
the Typescript transpilation started to fail with the following error messageEnvironment details
@google-cloud/pubsub
version: 2.19.3Steps to reproduce
typescript
and@google-cloud/pubsub
latestCreated an example repository, just have to clone, install and run
npm run build
.Setting the flag
esModuleInterop
totrue
doesn't solve the issue.The text was updated successfully, but these errors were encountered: