Closed roboriba closed 3 months ago
Super bug! I cant deploy the site
Can you try delete your lock file + node_modules and re-install? I believe this was a Nitro regression
I've done it about 3 times.
I've pushed up a workaround for the nitro regression in rc.43 of the og image module, you can update by deleting lock file + node_modules and re-installing.
Describe the bug
The problem is loading the module from node modules, for some reason it uses project/@iconify-json and not project/node_modules/@iconify-json. I don't know why this is happening I have tested three versions of node: 20.11.1, 18.17.0 and 16.20.1 it doesn't work on any of them, I have also changed NPM versions and again nothing.
Could not load raw:@iconify-json/noto/chars.json (imported by node_modules/nuxt-og-image/dist/runtime/nitro/og-image/satori/transforms/emojis.mjs): ENOENT: no such file or directory, open 'C:\Users\user\Desktop\projects\test\@iconify-json\noto\chars.json'
I also tried the nuxt-og-image module, but still the same problem.
I know that the problem is only related to one module @nuxtjs/seo. But I'm putting the bug report here because @nuxtjs/seo seems like a great idea. And I'm very sorry that I can't use it at the moment.
Otherwise the hotfix is to disable the module in the nuxt config.
Reproduction
No response
System / Nuxt Info