alexeliot
Cannot find module './lib/source-map-generator'
I spotted what caused this error by adding a debugger breakpoint on a nitro hook:
Make sure to run
nuxt dev --inspect
for the debugger to attach.7 replies
Cannot find module './lib/source-map-generator'
I've resolved the issue. If anyone stumbles on this as well, it was because I was using @headlessui/vue in an outdated way. I had
@headlessui/vue
listed under modules
in my nuxt.config.ts. Apparently there's a nuxt module for it now. I replaced it with that, updated my tsconfig according to the new docs and the problem was fixed.7 replies