You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
kalleprymne
changed the title
Google Tasks 'package.json' has non-working 'exports' for 'protos'
Cloud Tasks 'package.json' has non-working 'exports' for 'protos'
Dec 11, 2024
Issue with: @google-cloud/tasks to v5.5.1
After PR #5696 was merged, it's no longer possible to import 'protos'.
Neither the previously working import:
...nor the assumed migrations works:
I believe this is due to 'package.json' needs an update in the 'exports' section and that the following lines:
https://github.com/googleapis/google-cloud-node/blob/tasks-v5.5.1/packages/google-cloud-tasks/package.json#L26-L35
...should be updated similar to this (or if wanting to keep old module path "./build/protos/protos" for backwards compatibility?):
The text was updated successfully, but these errors were encountered: