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
TS shows an error with express middleware #341
Comments
I believe this is ultimately a problem with TypeScript's Is it possible for you to not use Related: googleapis/nodejs-logging-bunyan#241 |
FWIW - we've usually found the problem arrises when downstream dependencies are using |
@ofrobots I see it fixes this by using delphinus/logging-winston-test#1 I will fix my code base to use this way -- ES module style ( |
`transport-stream` uses a CommonJS style export. The way we were importing was giving errors to using `esModuleInterop`. Use the special syntax for this style of modules. Fixes: googleapis#341 Fixes: googleapis#342
Thanks for stopping by to let us know something could be better!
PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.
Please run down the following list and make sure you've tried the usual "quick fixes":
If you are still having issues, please be sure to include as much information as possible:
Environment details
@google-cloud/logging-winston
version: 1.0.0Steps to reproduce
I created a minimal repo to reproduce: https://github.com/delphinus/logging-winston-test
The text was updated successfully, but these errors were encountered: