-
Notifications
You must be signed in to change notification settings - Fork 32
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
Cannot import any of the booster components #1112
Comments
Hello @umaraziz0, have you also added the module to the {
modules: ['nuxt-booster']
} |
Hello @ThornWalli , thanks for replying. Yes I have added the module to my Here is a list of my modules and plugins for more context:
|
Hello @umaraziz0, very strange, it seems that you are missing alias definitions. Could you put a It can't be that it can't find the import if the alias is set. |
Hello @umaraziz0, I think I found the problem... |
Hello, I tried this, but unfortunately nothing came out in the console. I tried deleting the
I see, is there any workaround that I can do in the meantime? |
@umaraziz0 Try this version 😉
|
Still the same issue, unfortunately |
@umaraziz0 Can you try to make an import from @nuxt/image? And see if you get the same message. To narrow down the error. e.g. I think it should all be there. |
@umaraziz0 Try with |
@ThornWalli nuxt image's component seems to be working now, however the |
@umaraziz0 Could you perhaps provide a small project to reproduce? I can't reproduce it right now... |
@ThornWalli working on a company project right now so I might not be able to create an exact reproduction, but I'll see if i can recreate in another repo |
Describe the bug
I'm unable to import any of the booster components, as the import throws a
TS2307
error:Cannot find module '#booster/components/BoosterPicture' or its corresponding type declarations.ts(2307)
.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Component should import properly
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
not tested yet
Additional context
I have already installed and added the
nuxt-booster
module, here are some of my configurations:My nuxt-booster config, a simplified version of the template from the docs:
The text was updated successfully, but these errors were encountered: