T
TanStack2mo ago
flat-fuchsia

TypeError: Cannot read properties of undefined (reading 'protocol')

1.133.7 - hit this error. No idea where it is coming from really. TypeError: Cannot read properties of undefined (reading 'protocol') at new URL (file:///path/to/project/node_modules/.pnpm/srvx@0.8.15/node_modules/srvx/dist/_chunks/url-Q-LB8LX.mjs:32:26) at new H3Event (file:///path/to/project/node_modules/.pnpm/h3@2.0.0-beta.4/node_modules/h3/dist/h3.mjs:56:51) at eval (/path/to/project/node_modules/.pnpm/@tanstack+start-server-core@1.133.6/node_modules/@tanstack/start-server-core/src/request-response.ts:53:21) at eval (/path/to/project/apps/web-tanstack/src/server.tsx:29:2) at async ESModulesEvaluator.runInlinedModule (file:///path/to/project/nodemodules/.pnpm/vite@7.1.10@types+node@24.2.0_jiti@2.6.1_lightningcss@1.30.1_terser@5.39.0_tsx@4.20.3_yaml@2.7.0/node_modules/vite/dist/node/module-runner.js:905:3) at async ModuleRunner.directRequest (file:///path/to/project/nodemodules/.pnpm/vite@7.1.10@types+node@24.2.0_jiti@2.6.1_lightningcss@1.30.1_terser@5.39.0_tsx@4.20.3_yaml@2.7.0/node_modules/vite/dist/node/module-runner.js:1112:59) at async ModuleRunner.cachedRequest (file:///path/to/project/nodemodules/.pnpm/vite@7.1.10@types+node@24.2.0_jiti@2.6.1_lightningcss@1.30.1_terser@5.39.0_tsx@4.20.3_yaml@2.7.0/node_modules/vite/dist/node/module-runner.js:1030:73) at async ModuleRunner.import (file:///path/to/project/nodemodules/.pnpm/vite@7.1.10@types+node@24.2.0_jiti@2.6.1_lightningcss@1.30.1_terser@5.39.0_tsx@4.20.3_yaml@2.7.0/node_modules/vite/dist/node/module-runner.js:991:10) at async file:///path/to/project/nodemodules/.pnpm/@tanstack+start-plugin-core@1.133.7@tanstack+react-router@1.133.7_react-dom@19.1.0_rea_b3ee2084273d1d66c683e312a16023bd/node_modules/@tanstack/start-plugin-core/dist/esm/dev-server-plugin/plugin.js:61:35 Tried to remove node_modules - no luck. Removed lock and node_modules - no luck. It's pnpm monorepo. Was good until I tried to update. Now I cannot get it to work.
1 Reply
afraid-scarlet
afraid-scarlet2mo ago
can you post the lockfile that still works?

Did you find this page helpful?