-
Notifications
You must be signed in to change notification settings - Fork 58
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
Typescript error converting AppConfig to a type with { nuxtConfig } #117
Comments
Could you provide a reproduction please? |
@atinux Can you tell me more about what you mean by "reproduction"? Are you wondering what my tsconfig.json looks like? Something else? |
A Stackblitz showcasing the error, I don't have any error using the module |
Could you try with |
That worked, @atinux! Thanks. |
It doesnt work for me with option:
in version 0.6.3 |
I was able to solve this by adding this to export default defineAppConfig({
nuxtIcon: {},
}) |
Ah, yes, that makes sense. Thanks, @genu. |
Thank you for spending the time developing this awesome module. I really love the simplicity of it. I am facing the same issue as above though and neither of the solutions worked for me. With
Error in the terminal
|
Hey, programmers! Reproduce the errorIt's very easy to reproduce this error. Then run Easy to solve the issueI can confirm that two of the solution above is solving this issue.
|
This is working for me again after removing some non-default settings. I removed It's building and generating fine now ❤️ |
Another note, I believe this may only happen if you have type checking on in typescript: {
typeCheck: true
}, |
Oh, yes, maybe! |
References: nuxt/icon#117
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch
nuxt-icon@0.6.1
for the project I'm working on.Original problem
When building my SSR nuxt app for production, I got these errors:
Here is the diff that solved my problem:
This issue body was partially generated by patch-package.
The text was updated successfully, but these errors were encountered: