T
TanStack2mo ago
eager-peach

I got new error after update

on console.
PM [vite] vite.config.ts changed, restarting server...
please add the vite-react plugin to your Vite config and set 'customViteReactPlugin: true'
TanStack Start will not configure the vite-react plugin in future anymore.
PM [vite] vite.config.ts changed, restarting server...
please add the vite-react plugin to your Vite config and set 'customViteReactPlugin: true'
TanStack Start will not configure the vite-react plugin in future anymore.
on browser.
Uncaught (in promise) TypeError: import_node_async_hooks.AsyncLocalStorage is not a constructor
at chunk-4O2AVXFM.js?v=b3451afd:172:20
(익명) @ chunk-4O2AVXFM.js?v=b3451afd:172
Uncaught (in promise) TypeError: import_node_async_hooks.AsyncLocalStorage is not a constructor
at chunk-4O2AVXFM.js?v=b3451afd:172:20
(익명) @ chunk-4O2AVXFM.js?v=b3451afd:172
// ../node_modules/@tanstack/start-storage-context/dist/esm/async-local-storage.js
var import_node_async_hooks = __toESM(require_node_async_hooks(), 1);
var startStorage = new import_node_async_hooks.AsyncLocalStorage(); --> the root cause.
async function runWithStartContext(context, fn) {
// ../node_modules/@tanstack/start-storage-context/dist/esm/async-local-storage.js
var import_node_async_hooks = __toESM(require_node_async_hooks(), 1);
var startStorage = new import_node_async_hooks.AsyncLocalStorage(); --> the root cause.
async function runWithStartContext(context, fn) {
is there anyone who got same error?? I need a help 😦
5 Replies
dependent-tan
dependent-tan2mo ago
I'm getting this error too 😦 I've done the customViteReactPlugin: true stuff, but this error specifically occurs when updating from 1.128.3 to 1.129.0.
frozen-sapphire
frozen-sapphire2mo ago
@combab0 @Barry Michael Doyle 1.129.0 is just bugged right now https://github.com/TanStack/router/issues/4729
GitHub
@tanstack/start-storage-context seem wrong bundled in client side c...
Which project does this relate to? Router, react-start Describe the bug New version update will cause a bug that node:async_hooks.AsyncLocalStorage is bundle in client side code. i have reproduce i...
frozen-sapphire
frozen-sapphire2mo ago
and the customVitePlugin warning has nothing to do with it it's just that you now have to install the react vite plugin separately
frozen-sapphire
frozen-sapphire2mo ago
No description
eager-peach
eager-peachOP2mo ago
@notKamui thanks!

Did you find this page helpful?