-
-
Notifications
You must be signed in to change notification settings - Fork 489
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
fix: load vue-template-compiler with nuxt.resolver.requireModule #1327
fix: load vue-template-compiler with nuxt.resolver.requireModule #1327
Conversation
I have just fixed the part pointed out in your review comments |
I'm very sorry for the lack of explanation. Because `Cannot find module 'vue-template-compiler’ error occurs in cases other than build time, like the below issue. I am trying the verify & PoC of Nuxt Bridge / Nuxt3 support using
When I try to run the new module, which uses this existing
From this stack trace, if you install This is outside the topic of this issue. To be honest, I'm not sure if it's best practice to use In fact, installModule is used here I think @pi0 would know if I'm right about it. In any case, from previous issues, I think the same problem may occur in the future. |
Hi! I have no knowledge of Using installModule` should be fine btw :) |
Thanks |
#297 has occurred in my environment too
https://github.com/kazupon/nuxt-i18n-next
There is comment at #297,
I've fixed with using
this.nuxt.resolver.requireModule
.