You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nuxi 3.0.0-rc.12 22:19:40
Nuxt 3.0.0-rc.12 with Nitro 0.6.0 22:19:40
22:19:41
> Local: http://localhost:3000/
> Network: http://192.168.1.2:3000/
ℹ Vite client warmed up in 2312ms 22:19:45
✔ Nitro built in 1640 ms nitro 22:19:46
[nuxt] [request error] [unhandled] [500] Unexpected token '||='
I have not changed my node version - I am running 14.18.1. I have this exact error after installing nuxi globally using pnpm. Prior to that when I ran the dev server in rc.12 there were no errors at all.
***However, if I downgrade to rc.11 the dev server starts without the error.
Can anyone help me to uninstall the globally installed nuxi? '''pnpm uninstall nuxi --global''' doesn't seem to work.
I have not changed my node version - I am running 14.18.1. I have this exact error after installing nuxi globally using pnpm. Prior to that when I ran the dev server in rc.12 there were no errors at all.
This is related to the build script as -for now- it is only supported on node 15+ because of Logical OR assignment (||=), I guess this behavior is fixed in the edge channel, or in the next RC #15250 .
Can anyone help me to uninstall the globally installed nuxi? '''pnpm uninstall nuxi --global''' doesn't seem to work.
I used to uninstall global binaries with npm instead of pnpm for some reasons..., I think nuxi is not supposed to be installed globally, otherwise can you share the the output of npm uninstall nuxi --global.
Activity
bitsnaps commentedon Oct 19, 2022
According to @danielroe , this issue is related to node version, I need to upgrade node to >= 15, it'll be fixed in future releases.
Update required node version
SPH73 commentedon Oct 31, 2022
I have not changed my node version - I am running 14.18.1. I have this exact error after installing nuxi globally using pnpm. Prior to that when I ran the dev server in rc.12 there were no errors at all.
***However, if I downgrade to rc.11 the dev server starts without the error.
Can anyone help me to uninstall the globally installed nuxi? '''pnpm uninstall nuxi --global''' doesn't seem to work.
bitsnaps commentedon Oct 31, 2022
This is related to the build script as -for now- it is only supported on node 15+ because of Logical OR assignment (||=), I guess this behavior is fixed in the edge channel, or in the next RC #15250 .
I used to uninstall global binaries with
npminstead ofpnpmfor some reasons..., I thinknuxiis not supposed to be installed globally, otherwise can you share the the output ofnpm uninstall nuxi --global.