[plugin:vite:resolve] [plugin vite:resolve] Module "node:stream" has been externalized for browser compatibility, imported by "/root/code/pi.fyi/node_modules/.pnpm/@tanstack+start-server@1.97.19_@types+node@20.17.16_db0@0.2.1_encoding@0.1.13_ioredis@5.4.2_j_dcoy4jpwylnm3b2cj3ddbvfguy/node_modules/@tanstack/start-server/dist/esm/defaultStreamHandler.js". See https://vite.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details. [plugin:vite:resolve] [plugin vite:resolve] Module "node:stream/web" has been externalized for browser compatibility, imported by "/root/code/pi.fyi/node_modules/.pnpm/@tanstack+start-server@1.97.19_@types+node@20.17.16_db0@0.2.1_encoding@0.1.13_ioredis@5.4.2_j_dcoy4jpwylnm3b2cj3ddbvfguy/node_modules/@tanstack/start-server/dist/esm/transformStreamWithRouter.js". See https://vite.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details. [plugin:vite:resolve] [plugin vite:resolve] Module "node:stream" has been externalized for browser compatibility, imported by "/root/code/pi.fyi/node_modules/.pnpm/@tanstack+start-server@1.97.19_@types+node@20.17.16_db0@0.2.1_encoding@0.1.13_ioredis@5.4.2_j_dcoy4jpwylnm3b2cj3ddbvfguy/node_modules/@tanstack/start-server/dist/esm/transformStreamWithRouter.js". See https://vite.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details. ✓ 3072 modules transformed. x Build failed in 10.00s [1:25:22 AM] ERROR ../../node_modules/.pnpm/@tanstack+start-server@1.97.19_@types+node@20.17.16_db0@0.2.1_encoding@0.1.13_ioredis@5.4.2_j_dcoy4jpwylnm3b2cj3ddbvfguy/node_modules/@tanstack/start-server/dist/esm/transformStreamWithRouter.js (2:9): "Readable" is not exported by "__vite-browser-external", imported by "../../node_modules/.pnpm/@tanstack+start-server@1.97.19_@types+node@20.17.16_db0@0.2.1_encoding@0.1.13_ioredis@5.4.2_j_dcoy4jpwylnm3b2cj3ddbvfguy/node_modules/@tanstack/start-server/dist/esm/transformStreamWithRouter.js". file: /root/code/pi.fyi/node_modules/.pnpm/@tanstack+start-server@1.97.19_@types+node@20.17.16_db0@0.2.1_encoding@0.1.13_ioredis@5.4.2_j_dcoy4jpwylnm3b2cj3ddbvfguy/node_modules/@tanstack/start-server/dist/esm/transformStreamWithRouter.js:2:9 1: import { ReadableStream } from "node:stream/web"; 2: import { Readable } from "node:stream"; ^ 3: import { createControlledPromise } from "@tanstack/react-router"; 4: function transformReadableStreamWithRouter(router, routerStream) { file: /root/code/pi.fyi/node_modules/.pnpm/@tanstack+start-server@1.97.19_@types+node@20.17.16_db0@0.2.1_encoding@0.1.13_ioredis@5.4.2_j_dcoy4jpwylnm3b2cj3ddbvfguy/node_modules/@tanstack/start-server/dist/esm/transformStreamWithRouter.js:2:9 1: import { ReadableStream } from "node:stream/web"; 2: import { Readable } from "node:stream"; ^ 3: import { createControlledPromise } from "@tanstack/react-router"; 4: function transformReadableStreamWithRouter(router, routerStream) { at getRollupError (/root/code/pi.fyi/node_modules/.pnpm/rollup@4.31.0/node_modules/rollup/dist/es/shared/parseAst.js:396:41) at error (/root/code/pi.fyi/node_modules/.pnpm/rollup@4.31.0/node_modules/rollup/dist/es/shared/parseAst.js:392:42) at Module.error (/root/code/pi.fyi/node_modules/.pnpm/rollup@4.31.0/node_modules/rollup/dist/es/shared/node-entry.js:15715:16) at Module.traceVariable (/root/code/pi.fyi/node_modules/.pnpm/rollup@4.31.0/node_modules/rollup/dist/es/shared/node-entry.js:16164:29) at ModuleScope.findVariable (/root/code/pi.fyi/node_modules/.pnpm/rollup@4.31.0/node_modules/rollup/dist/es/shared/node-entry.js:13886:39) at FunctionScope.findVariable (/root/code/pi.fyi/node_modules/.pnpm/rollup@4.31.0/node_modules/rollup/dist/es/shared/node-entry.js:5305:38) at FunctionBodyScope.findVariable (/root/code/pi.fyi/node_modules/.pnpm/rollup@4.31.0/node_modules/rollup/dist/es/shared/node-entry.js:5305:38) at MemberExpression.bind (/root/code/pi.fyi/node_modules/.pnpm/rollup@4.31.0/node_modules/rollup/dist/es/shared/node-entry.js:6944:49) at CallExpression.bind (/root/code/pi.fyi/node_modules/.pnpm/rollup@4.31.0/node_modules/rollup/dist/es/shared/node-entry.js:2675:23) at CallExpression.bind (/root/code/pi.fyi/node_modules/.pnpm/rollup@4.31.0/node_modules/rollup/dist/es/shared/node-entry.js:11312:15) at ReturnStatement.bind (/root/code/pi.fyi/node_modules/.pnpm/rollup@4.31.0/node_modules/rollup/dist/es/shared/node-entry.js:2675:23) at BlockStatement.bind (/root/code/pi.fyi/node_modules/.pnpm/rollup@4.31.0/node_modules/rollup/dist/es/shared/node-entry.js:2671:28) at FunctionDeclaration.bind (/root/code/pi.fyi/node_modules/.pnpm/rollup@4.31.0/node_modules/rollup/dist/es/shared/node-entry.js:2675:23) at Program.bind (/root/code/pi.fyi/node_modules/.pnpm/rollup@4.31.0/node_modules/rollup/dist/es/shared/node-entry.js:2671:28) at Module.bindReferences (/root/code/pi.fyi/node_modules/.pnpm/rollup@4.31.0/node_modules/rollup/dist/es/shared/node-entry.js:15694:18) at Graph.sortModules (/root/code/pi.fyi/node_modules/.pnpm/rollup@4.31.0/node_modules/rollup/dist/es/shared/node-entry.js:21229:20) at Graph.build (/root/code/pi.fyi/node_modules/.pnpm/rollup@4.31.0/node_modules/rollup/dist/es/shared/node-entry.js:21132:14) at async /root/code/pi.fyi/node_modules/.pnpm/rollup@4.31.0/node_modules/rollup/dist/es/shared/node-entry.js:21820:13 at async catchUnfinishedHookActions (/root/code/pi.fyi/node_modules/.pnpm/rollup@4.31.0/node_modules/rollup/dist/es/shared/node-entry.js:21286:16) at async rollupInternal (/root/code/pi.fyi/node_modules/.pnpm/rollup@4.31.0/node_modules/rollup/dist/es/shared/node-entry.js:21815:5) at async buildEnvironment (/root/code/pi.fyi/node_modules/.pnpm/vite@6.0.11_@types+node@20.17.16_jiti@2.4.2_terser@5.37.0_tsx@4.19.2_yaml@2.7.0/node_modules/vite/dist/node/chunks/dep-M1IYMR16.js:51076:14) at async createViteBuild (/root/code/pi.fyi/node_modules/.pnpm/vinxi@0.5.1_@types+node@20.17.16_db0@0.2.1_encoding@0.1.13_ioredis@5.4.2_jiti@2.4.2_terser@5._jthmd5g3t4rnhmcdksouswed2a/node_modules/vinxi/lib/build.js:394:17) at async createRouterBuild (/root/code/pi.fyi/node_modules/.pnpm/vinxi@0.5.1_@types+node@20.17.16_db0@0.2.1_encoding@0.1.13_ioredis@5.4.2_jiti@2.4.2_terser@5._jthmd5g3t4rnhmcdksouswed2a/node_modules/vinxi/lib/build.js:519:2) at async /root/code/pi.fyi/node_modules/.pnpm/vinxi@0.5.1_@types+node@20.17.16_db0@0.2.1_encoding@0.1.13_ioredis@5.4.2_jiti@2.4.2_terser@5._jthmd5g3t4rnhmcdksouswed2a/node_modules/vinxi/lib/build.js:58:5 at async createBuild (/root/code/pi.fyi/node_modules/.pnpm/vinxi@0.5.1_@types+node@20.17.16_db0@0.2.1_encoding@0.1.13_ioredis@5.4.2_jiti@2.4.2_terser@5._jthmd5g3t4rnhmcdksouswed2a/node_modules/vinxi/lib/build.js:57:4) at async Object.run (/root/code/pi.fyi/node_modules/.pnpm/vinxi@0.5.1_@types+node@20.17.16_db0@0.2.1_encoding@0.1.13_ioredis@5.4.2_jiti@2.4.2_terser@5._jthmd5g3t4rnhmcdksouswed2a/node_modules/vinxi/bin/cli.mjs:235:5) at async runCommand (/root/code/pi.fyi/node_modules/.pnpm/citty@0.1.6/node_modules/citty/dist/index.mjs:316:16) at async runCommand (/root/code/pi.fyi/node_modules/.pnpm/citty@0.1.6/node_modules/citty/dist/index.mjs:307:11) at async runMain (/root/code/pi.fyi/node_modules/.pnpm/citty@0.1.6/node_modules/citty/dist/index.mjs:445:7) [1:25:22 AM] ERROR ../../node_modules/.pnpm/@tanstack+start-server@1.97.19_@types+node@20.17.16_db0@0.2.1_encoding@0.1.13_ioredis@5.4.2_j_dcoy4jpwylnm3b2cj3ddbvfguy/node_modules/@tanstack/start-server/dist/esm/transformStreamWithRouter.js (2:9): "Readable" is not exported by "__vite-browser-external", imported by "../../node_modules/.pnpm/@tanstack+start-server@1.97.19_@types+node@20.17.16_db0@0.2.1_encoding@0.1.13_ioredis@5.4.2_j_dcoy4jpwylnm3b2cj3ddbvfguy/node_modules/@tanstack/start-server/dist/esm/transformStreamWithRouter.js". file: /root/code/pi.fyi/node_modules/.pnpm/@tanstack+start-server@1.97.19_@types+node@20.17.16_db0@0.2.1_encoding@0.1.13_ioredis@5.4.2_j_dcoy4jpwylnm3b2cj3ddbvfguy/node_modules/@tanstack/start-server/dist/esm/transformStreamWithRouter.js:2:9 1: import { ReadableStream } from "node:stream/web"; 2: import { Readable } from "node:stream"; ^ 3: import { createControlledPromise } from "@tanstack/react-router"; 4: function transformReadableStreamWithRouter(router, routerStream) { ERROR Exited with code: 1 1:25:23 AM at CommandChild.pipedStdoutBuffer (/root/code/pi.fyi/node_modules/.pnpm/dax-sh@0.39.2/node_modules/dax-sh/esm/mod.js:9392:19) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)