Content module error
xanzhu opened this issue · comments
Versions
nuxt-vite: 0.3.4
nuxt: 2.15.7
Reproduction
Clean repository, run yarn dev
error when visiting localhost
Description
Content module generating error
Cannot find module 'html' from 'C:\Users\A1\Desktop\2102101'
Object.$id_882dd793 [as /node_modules/property-information/index.js]
Object.$id_1aea1528 [as /.nuxt/content/nuxt-content.js]
Facing same issue introduced in later version
Ref:
Originally posted by @pi0 in #213 (comment)
@pi0 ya i got the same error even after upgrading to the current version
For now you can keep using 0.2.x or use ssr: false
We are working on a better solution for integration with vite ssr that hopefully solving this issue.
Same issue with nuxt@2.15.8
and nuxt-vite@0.3.5
.
I got the same error
temporarily fixed it by installing manually e.g.
Cannot find module 'svg' from
-> npm i -D svg
I did this for like 5+ modules and it worked so...... yeah cheers