Skip to content

Updating to 1.129.0 broke my app. #4734

Description

@johannesbremer

Which project does this relate to?

Start

Describe the bug

I'm using TanStack Start and today dependabot updated me to 1.129.0: https://github.com/johannesbremer/praxisplaner/commit/1ff2e8a7394bd06c011c9871d534c0637861d088. I've also locally reverted the commit and only updated the TanStack part to make sure, this is what was causing the issue. What happens is, that when I click on either of the routes from the root page (or load them by going to localhost:5173/regeln or localhost:5173/praxisplaner) they just hang on my custom loading messages. The browser console prints (also in the root page):

content.js:1 [PVS Connector] Content script loaded.
@tanstack_react-start.js?v=9923bdfb:17 Module "node:async_hooks" has been externalized for browser compatibility. Cannot access "node:async_hooks.AsyncLocalStorage" in client code. See https://vite.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.
get @ @tanstack_react-start.js?v=9923bdfb:17
(anonymous) @ @tanstack_react-start.js?v=9923bdfb:172
@tanstack_react-start.js?v=9923bdfb:172 Uncaught (in promise) TypeError: import_node_async_hooks.AsyncLocalStorage is not a constructor
    at @tanstack_react-start.js?v=9923bdfb:172:20
(anonymous) @ @tanstack_react-start.js?v=9923bdfb:172

Your Example Website or App

https://github.com/johannesbremer/praxisplaner

Steps to Reproduce the Bug or Issue

git clone https://github.com/johannesbremer/praxisplaner.git
pnpm i
pnpm dev

Expected behavior

I expect to be able to visit my routes.

Screenshots or Videos

No response

Platform

  • Router / Start Version: 1.129.0
  • OS: macOS
  • Browser: Chrome, Safari, Firefox
  • Bundler: vite
  • Bundler Version: 7.0.5

Additional context

Thanks in advance! Let me know if there are things I can do.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions