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
ℹ️ All works fine with nuxt@3.0.0-rc.11, error occur only with nuxt@3.0.0-rc.12.
Create a new monorepo project.
Add a single name in the package.json file of each Nuxt projects.
Add pnpm-workspace.yaml to the root folder.
Follow all pnpm steps on the Nuxt installation page, for each projects.
Run pnpm --filter my-project-name dev -o to the root folder.
Error 500: Unexpected token '||='.
Describe the bug
After "Nitro built" terminal message, there is an error 500 with the message: Unexpected token '||='.
500
Unexpected token '||='
at new Script (vm.js:102:7)
at createScript (vm.js:262:10)
at Object.runInThisContext (vm.js:310:10)
at ViteNodeRunner.directRequest (/Users/bgd/Documents/Projects/scores-plus/node_modules/.pnpm/vite-node@0.24.5/node_modules/vite-node/dist/client.mjs:245:19)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async ViteNodeRunner.cachedRequest (/Users/bgd/Documents/Projects/scores-plus/node_modules/.pnpm/vite-node@0.24.5/node_modules/vite-node/dist/client.mjs:129:12)
at async request (/Users/bgd/Documents/Projects/scores-plus/node_modules/.pnpm/vite-node@0.24.5/node_modules/vite-node/dist/client.mjs:152:16)
at async /Users/bgd/Documents/Projects/scores-plus/node_modules/.pnpm/nuxt@3.0.0-rc.12/node_modules/nuxt/dist/app/composables/index.mjs:46:31
at async ViteNodeRunner.directRequest (/Users/bgd/Documents/Projects/scores-plus/node_modules/.pnpm/vite-node@0.24.5/node_modules/vite-node/dist/client.mjs:250:5)
at async ViteNodeRunner.cachedRequest (/Users/bgd/Documents/Projects/scores-plus/node_modules/.pnpm/vite-node@0.24.5/node_modules/vite-node/dist/client.mjs:129:12)
Additional context
No response
Logs
at new Script (vm.js:102:7)
at createScript (vm.js:262:10)
at Object.runInThisContext (vm.js:310:10)
at ViteNodeRunner.directRequest (/Users/bgd/Documents/Projects/scores-plus/node_modules/.pnpm/vite-node@0.24.5/node_modules/vite-node/dist/client.mjs:245:19)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async ViteNodeRunner.cachedRequest (/Users/bgd/Documents/Projects/scores-plus/node_modules/.pnpm/vite-node@0.24.5/node_modules/vite-node/dist/client.mjs:129:12)
at async request (/Users/bgd/Documents/Projects/scores-plus/node_modules/.pnpm/vite-node@0.24.5/node_modules/vite-node/dist/client.mjs:152:16)
at async /Users/bgd/Documents/Projects/scores-plus/node_modules/.pnpm/nuxt@3.0.0-rc.12/node_modules/nuxt/dist/app/composables/index.mjs:46:31
at async ViteNodeRunner.directRequest (/Users/bgd/Documents/Projects/scores-plus/node_modules/.pnpm/vite-node@0.24.5/node_modules/vite-node/dist/client.mjs:250:5)
at async ViteNodeRunner.cachedRequest (/Users/bgd/Documents/Projects/scores-plus/node_modules/.pnpm/vite-node@0.24.5/node_modules/vite-node/dist/client.mjs:129:12)
The text was updated successfully, but these errors were encountered:
Environment
Darwin
v14.20.1
3.0.0-rc.12
0.6.0
pnpm@7.14.1
vite
-
-
-
Reproduction
ℹ️ All works fine with
nuxt@3.0.0-rc.11
, error occur only withnuxt@3.0.0-rc.12
.package.json
file of each Nuxt projects.pnpm-workspace.yaml
to the root folder.pnpm
steps on the Nuxt installation page, for each projects.pnpm --filter my-project-name dev -o
to the root folder.Unexpected token '||='
.Describe the bug
After "Nitro built" terminal message, there is an error 500 with the message:
Unexpected token '||='
.Additional context
No response
Logs
The text was updated successfully, but these errors were encountered: