…
…
…
The file “[[path]].ts” imports the file “…/build/server/index.js” here:
[[path]].ts:2:43:
2 │ ... { createPagesFunctionHandler } from '@remix-run/cloudflare-pages';
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The top-level await in "../build/server/index.js" is here:
../build/server/index.js:15964:25:
15964 │ const shellHighlighter = await createHighlighter(highlighterOpt...
╵ ~~~~~
✘ [ERROR] Could not resolve “stream”
../node_modules/.pnpm/stream-slice@0.1.2/node_modules/stream-slice/index.js:3:24:
3 │ var Transform = require('stream').Transform;
╵ ~~~~~~~~
The package "stream" 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.