vite
vite copied to clipboard
Content module error
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 https://github.com/nuxt/vite/issues/213#issuecomment-932742574
@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.
Having a similar issue with [email protected]
on [email protected]
:
Downgrading to 0.2.4
works as a temporary solution 👍
Same issue with [email protected]
and [email protected]
.
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