Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pre-transform error: Cannot read properties of null (reading 'parse') #3241

Open
kieranwv opened this issue Nov 21, 2024 · 4 comments
Open

Comments

@kieranwv
Copy link

kieranwv commented Nov 21, 2024

Environment


  • Operating System: Windows_NT
  • Node Version: v18.20.2
  • Nuxt Version: 3.14.1592
  • CLI Version: 3.15.0
  • Nitro Version: 2.10.4
  • Package Manager: [email protected]
  • Builder: -
  • User Config: default
  • Runtime Modules: @nuxtjs/[email protected]
  • Build Modules: -

Reproduction

https://stackblitz.com/edit/nuxt-starter-ktam3z?file=nuxt.config.ts

Describe the bug

Image

Additional context

No response

Logs

@BobbieGoede
Copy link
Collaborator

We're still investigating this issue, so far it seems this issue is only present in a Stackblitz, are you able to reproduce this locally as well?

@userquin managed to narrow it down to @vitejs/vite-plugin-vue and we're tracking that here vitejs/vite-plugin-vue#474

@kieranwv
Copy link
Author

We're still investigating this issue, so far it seems this issue is only present in a Stackblitz, are you able to reproduce this locally as well?

@userquin managed to narrow it down to @vitejs/vite-plugin-vue and we're tracking that here vitejs/vite-plugin-vue#474

Thank you. I also encountered this problem locally, the repo address is: https://github.com/starter-collective/starter-nuxt3.

@userquin
Copy link
Collaborator

@BobbieGoede in the meantime, maybe we should fix the error in the vite directive plugin, will not work if using v-t in the root nuxt component on vite warmup (check my closed PR): intlify/bundle-tools#421

(I can restore the branch and submit a new PR)

@userquin
Copy link
Collaborator

@kieranwv you can patch i18n module if you're not using v-t directive: check nimbus-town/nimbus#3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants