I get the error after installing nuxt ui pro on my proj
Description
PS C:\Projects\PayoutsNextFrontApp\admin> pnpm run dev
nuxt-app@ dev C:\Projects\PayoutsNextFrontApp\admin nuxt dev
Nuxt 3.12.4 with Nitro 2.9.7 14:40:45 14:40:46 ➜ Local: http://localhost:3000/ ➜ Network: use --host to expose
ℹ Nuxt Icon server bundle mode is set to local 14:40:48 ℹ Using default Tailwind CSS file nuxt:tailwindcss 14:40:51 ➜ DevTools: press Shift + Alt + D in the browser (v1.3.9) 14:40:52
ℹ Tailwind Viewer: http://localhost:3000/_tailwind/ nuxt:tailwindcss 14:40:53 ✔ Vite client built in 32ms 14:40:54 ✔ Vite server built in 886ms 14:40:55 ✔ Nuxt Nitro server built in 744 ms nitro 14:40:56
ERROR [worker reload] [worker init] Cannot find package 'nitropack' imported from C:\Projects\PayoutsNextFrontApp\admin.nuxt\dev\index.mjs 14:40:56
at packageResolve (node:internal/modules/esm/resolve:853:9)
at moduleResolve (node:internal/modules/esm/resolve:910:20)
at defaultResolve (node:internal/modules/esm/resolve:1130:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:396:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:365:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:240:38)
at ModuleWrap.
This issue is stale because it has been open for 30 days with no activity.
Couldn't reproduce this, not in PS nor CMD. Have you ran pnpm install beforehand?
Since you said it's happening on install, I recommend trying to make a new blank project using nuxi init, after it's done run install again (to verify all was installed) and then add ui-pro and finally install again. Then when you run dev it should work fine as it does for me.
@benjamincanac as a Windows possessor myself, I can confidently say that this is very likely not an issue in the module. I think this can be closed (at least until proper reproduction is provided and some more concrete details besides a single error stack)
Feel free to reopen with a reproduction!