Skip to content
This repository has been archived by the owner on Jan 4, 2023. It is now read-only.

Content module error #215

Open
xanzhu opened this issue Oct 2, 2021 · 5 comments
Open

Content module error #215

xanzhu opened this issue Oct 2, 2021 · 5 comments
Labels
bug Something isn't working

Comments

@xanzhu
Copy link

xanzhu commented Oct 2, 2021

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

image

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)

@xanzhu xanzhu added the bug Something isn't working label Oct 2, 2021
@IshanKBG
Copy link

IshanKBG commented Oct 3, 2021

@pi0 ya i got the same error even after upgrading to the current version

@pi0
Copy link
Member

pi0 commented Oct 3, 2021

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.

@cossssmin
Copy link

Having a similar issue with nuxt-vite@0.3.4 on nuxt@2.15.8:

image

Downgrading to 0.2.4 works as a temporary solution 👍

@toniengelhardt
Copy link

Same issue with nuxt@2.15.8 and nuxt-vite@0.3.5.

@nopeless
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants