Build error when I switch to that. Unable to run locally or deploy. ``` ✘ [ERROR] Could not resolve
Build error when I switch to that. Unable to run locally or deploy.
✘ [ERROR] Could not resolve "node:buffer"
node_modules/@cloudflare/puppeteer/lib/esm/puppeteer/common/util.js:23:23:
23 │ import { Buffer } from 'node:buffer';
╵ ~~~~~~~~~~~~~
The package "node:buffer" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
✘ [ERROR] Build failed with 2 errors:
node_modules/@cloudflare/puppeteer/lib/esm/puppeteer/common/util.js:22:25: ERROR: Could not
resolve "node:stream"
node_modules/@cloudflare/puppeteer/lib/esm/puppeteer/common/util.js:23:23: ERROR: Could not
resolve "node:buffer"✘ [ERROR] Could not resolve "node:buffer"
node_modules/@cloudflare/puppeteer/lib/esm/puppeteer/common/util.js:23:23:
23 │ import { Buffer } from 'node:buffer';
╵ ~~~~~~~~~~~~~
The package "node:buffer" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
✘ [ERROR] Build failed with 2 errors:
node_modules/@cloudflare/puppeteer/lib/esm/puppeteer/common/util.js:22:25: ERROR: Could not
resolve "node:stream"
node_modules/@cloudflare/puppeteer/lib/esm/puppeteer/common/util.js:23:23: ERROR: Could not
resolve "node:buffer"




