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
hang when building app with ¿
#14140
Comments
Do you mind to make a reproduction sandbox? 🙏🏼 |
I didn't reproduce it because I didn't know what was wrong. But I have detected the piece of code that makes nuxt fail. <div class="text-sm">
<a href="#" class="font-medium text-blue-600 hover:text-blue-500"> ¿Olvidaste tu contraseña? </a>
</div> looks like it's the initial question mark because if I remove it, it works. <div class="text-sm">
<a href="#" class="font-medium text-blue-600 hover:text-blue-500">
- ¿Olvidaste tu contraseña?
+ {{ '¿Olvidaste tu contraseña?' }}
</a>
</div> |
@frbuceta I can't reproduce with that code. Would you be able to reproduce via https://stackblitz.com/github/nuxt/starter/tree/v3-stackblitz? |
I confirm the issue. It seems that nuxt (v3.0.0-rc4) compiler does not accept special character, ® in my case. |
Thanks for the report and confirmation. It seems a regression from a dependency of Nuxt. Please try pinning (npm) {
"overrides": {
"unimport": "0.2.5"
}
} (pnpm) {
"pnpm": {
"overrides": {
"unimport": "0.2.5"
}
}
} (yarn) {
"resolutions": {
"unimport": "0.2.5"
}
} |
/cc @antfu Can you please check this? I think if it is hard to fix and reproduce we might revert unjs/unimport#60 and introduce it in a semver-major (0.3.x) version on unimport to avoid affecting Nuxt 3 users. |
🙌 This fixed it for me. Will have to check where I have used any special characters. |
Fix released as As a side note, I guess the root cause is not about special characters, but a bug of Acron that failed to parse |
Environment
Linux
v18.1.0
3.0.0-rc.3-27584539.9d28c0a
npm@8.11.0
vite
css
,buildModules
,vite
,build
-
@pinia/nuxt@0.1.9
Reproduction
I don't know what is failing.
npm run build
npm run dev
Describe the bug
Nuxt never loads since I updated to the version mentioned above. The log is frozen and does not load.
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: