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
Just open the URL and await Nuxt start dev server.
System Info
❯ npx envinfo --system --npmPackages '{vite,@vitejs/*}' --binaries --browsers
Need to install the following packages:
envinfo@7.14.0
Ok to proceed? (y)
System:
OS: Linux 5.0 undefined
CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
Memory: 0 Bytes / 0 Bytes
Shell: 1.0 - /bin/jsh
Binaries:
Node: 18.20.3 - /usr/local/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 10.2.3 - /usr/local/bin/npm
pnpm: 8.15.6 - /usr/local/bin/pnpm
Used Package Manager
npm
Logs
ℹ Compiled plugins.server.mjs in 710.21ms 15:55:47
ℹ Compiled plugins.client.mjs in 732.65ms 15:55:47
ℹ Compiled types/plugins.d.ts in 738.38ms 15:55:47
✔ Vite client built in 707ms 15:55:48
ERROR Pre-transform error: Cannot read properties of null (reading 'parse') 15:55:48
ERROR Pre-transform error: Cannot read properties of null (reading 'parse') (x2) 15:55:49
✔ Vite server built in 1223ms 15:55:49
✔ Nuxt Nitro server built in 2642 ms nitro 15:55:53
ℹ Vite client warmed up in 0ms 15:55:53
ℹ Vite server warmed up in 1263ms
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
Related plugins
plugin-vue
plugin-vue-jsx
Describe the bug
The compiler is missing,
buildStart
mutating thecompiler
but options is ashallowRef
. The SB reproduction will fail with any package manager.On local it works, only failing on StackBlitz, breaking any Nuxt + I18n reproduction...
You can check this repository using
pnpm
(insteadnpm
) patching the Vue plugin to initialize the compiler properly in theconfigResolved
hook:Link to SB in the readme file: https://github.com/userquin/nuxt3-starter-patched-vue-plugin
I'm going to send a PR to fix this.
Reproduction
https://github.com/userquin/nuxt3-starter-patched-vue-plugin
Steps to reproduce
Just open the URL and await Nuxt start dev server.
System Info
Used Package Manager
npm
Logs
Validations
The text was updated successfully, but these errors were encountered: