Deployment will fail with this error. Note I’m not using edge functions
error during build:
Error: Build failed with 78 errors:
node_modules/@google-cloud/firestore/build/src/aggregate.js:20:23: ERROR: Could not resolve "assert"
node_modules/@google-cloud/firestore/build/src/bulk-writer.js:4:23: ERROR: Could not resolve "assert"
node_modules/@google-cloud/firestore/build/src/document.js:20:23: ERROR: Could not resolve "assert"
node_modules/@google-cloud/firestore/build/src/index.js:19:25: ERROR: Could not resolve "stream"
node_modules/@google-cloud/firestore/build/src/index.js:20:22: ERROR: Could not resolve "url"
I wonder if there’s an issue with incompatibility of the @google-cloud/firestore package and Bun. It looks like there may be missing Node.js core modules. You could try switching to a different package manager, e.g. npm or yarn?