Compile Error TypeError: maybeGlobalAsyncLocalStorage.snapshot is not a function
Unanswered
Dwarf Hotot posted this in #help-forum
Dwarf HototOP
I literally created a new next.js app but every time I try to compile and run dev servers this error appear.
I tried to re-build the app, same errors.
removed the node_modules folder and run "npm i"
restart the dev server.
nothing changed, I cannot run my dev server locally
I tried to re-build the app, same errors.
removed the node_modules folder and run "npm i"
restart the dev server.
nothing changed, I cannot run my dev server locally
12 Replies
Australian Freshwater Crocodile
full error?
Dwarf HototOP
TypeError: maybeGlobalAsyncLocalStorage.snapshot is not a function
this one
but on internet nothing appear about this topic / type of error and I really don't understandf
I literally created a new app with npx create-next-app@latest and as soon as the app initialized I run "npm run dev", tons of errors with this string appears
this is the full error @Australian Freshwater Crocodile
Australian Freshwater Crocodile
is this nextjs v15?
Dwarf HototOP
yes
it was the problem
I solved by installing next.js V14
There are breaking changes to update any older repositories follow the upgrade path and code mods