-
Notifications
You must be signed in to change notification settings - Fork 373
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
Could not resolve "../package.json" on v5.20.1 #1934
Comments
Same here |
Also experiencing this. Couldn't the complected fallthrough be avoided by having the same directory depth in both cases? |
Hello all, thank you for bringing this to our attention. I believe this should now be resolved in |
Thanks @timdp digging deeper into why this may be causing esbuild problems. |
Now there is problem in runtime, please reopen |
@faradaytrs I want to confirm that this is with an application built utilizing esbuild is that correct? If so, would you be able to provide what the configuration looks like? |
Just a quick update, I have been digging into the differences in |
I guess the alternative would be an esbuild patch that inlines top-level |
After investigating the issue was the result of a change we made to support running unit tests directly in TypeScript. This caused us to move to dynamic requires for |
Update: |
Seems fine again. Thanks! |
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.
Is this a client library issue or a product issue?
library issue
Did someone already solve this?
Not that I can find
Do you have a support contract?
No
Environment details
@google-cloud/storage
version: v5.20.1Steps to reproduce
@google-cloud/storage
and use it as a dependency in your projectI am using
firebase-admin
which has@google-cloud/storage
as a dependency. When I pin@google-cloud/storage
to5.19.4
I can package my app fine with esbuild. When it is updated tov5.20.1
it starts to fail with the above error.The text was updated successfully, but these errors were encountered: