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
Currently, when trying to bundle node-postgres, the following error occurs:
node_modules/pg/lib/native/client.js:4:21: error: Could not resolve "pg-native" (mark it as external to exclude it from the bundle, or surround it with try/catch to handle the failure at run-time)
The only solution I've come across is to exclude: ['pg-native'] via the esbuild options.
Additionally, when trying to bundle azure/storage-blob, the following error occurs:
Error: TypeError: Expected signal to be an instanceof AbortSignal
It seems to be related to the sdk's dependency on node-fetch as noted here. The suggestion of using keepNames: true, seems to resolve the issue.
The text was updated successfully, but these errors were encountered:
Currently, when trying to bundle node-postgres, the following error occurs:
The only solution I've come across is to
exclude: ['pg-native']
via the esbuild options.Additionally, when trying to bundle azure/storage-blob, the following error occurs:
It seems to be related to the sdk's dependency on node-fetch as noted here. The suggestion of using
keepNames: true
, seems to resolve the issue.The text was updated successfully, but these errors were encountered: