oyedejioyewole / nuxt-phosphor-icons

Just a simple integration for @phosphor-icons in Nuxt
https://nuxt-phosphor-icons.vercel.app
10 stars 2 forks source link

Module seems to have issues with Nuxt 3.9.0 #7

Closed okeke-ugochukwu closed 10 months ago

okeke-ugochukwu commented 10 months ago

@OyewoleOyedeji Hi. I just updated a project I'm working on from Nuxt 3.7.4 to the just released 3.9.0, using nuxi upgrade --force On starting the server I get an error:

Cannot start nuxt:  Nuxt module should be a function: nuxt-phosphor-icons

I init a new project, clean install, installed just the module and tried again. Error message persists.

I can't find much information on the error

oyedejioyewole commented 10 months ago

Have you tried using the latest version?

oyedejioyewole commented 10 months ago

Have you tried using the latest version?

If it still doesn't work provide a minimal reproduction of your project on CodeSandbox

okeke-ugochukwu commented 10 months ago

Last release says v1.1.0 same as the new project

oyedejioyewole commented 10 months ago

Last release says v1.1.0 same as the new project

brb

oyedejioyewole commented 10 months ago

Could you provide the error log?

okeke-ugochukwu commented 10 months ago

Screenshot (77)

okeke-ugochukwu commented 10 months ago

Not quite fixed yet

Screenshot (78)

oyedejioyewole commented 10 months ago

@okeke-ugochukwu I've found the problem now, and it should hopefully be fixed with version 1.1.5. Sorry for any inconvenience

oyedejioyewole commented 10 months ago

The module now works perfectly with Nuxt 3.9.0 after running tests on different environments. Thanks for raising the alarm 😄

okeke-ugochukwu commented 10 months ago

Yeah it works now. Thank you! 🙌