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

Connot Find Module #226

Open
hakanngul opened this issue Oct 29, 2021 · 11 comments
Open

Connot Find Module #226

hakanngul opened this issue Oct 29, 2021 · 11 comments
Labels
bug Something isn't working

Comments

@hakanngul
Copy link

Versions

nuxt-vite: ^0.3.5
nuxt: ^2.15.7

Reproduction

Connot Find Module Error

Description

When I use to vite with nuxt then import to boostrap-vue or axios or anything module, I got this error, when I remove module names on nuxt.config.js it's get better I mean it's fixing how can I solve this problem ?

2021-10-29 15_34_51-localhost_3000

@hakanngul hakanngul added the bug Something isn't working label Oct 29, 2021
@cifuentesmx
Copy link

Any updates on this? as still a bug on new install on Jan 21st 2022

@adhamfarrag
Copy link
Member

Same as @robertocifuentes mentioned.

For me. It's Cannot find module '../nuxt.config.js'

@benmandr
Copy link

It seems like a problem on server-side. Adding ssr: false to nuxt.config kind of solves the issue as the error does not appear.

But adding ssr: false messes half of the project since some fetches do not occur in time. Would be nice to get a more appropriate fix here.

@chalist
Copy link

chalist commented Jan 25, 2022

Same issue. Any update?

@ichii731
Copy link

I'm running into the same problem...
Is this a phenomenon triggered by updates? I'm using Vite in Nuxt environment for the first time today, so I'm not sure...

@ZhengDNA
Copy link

My temporary solution is copy node_modules/axios/lib to node_modules/...

@wizzer129
Copy link

I am experiencing the same issue, any update?

@mherrero-ep
Copy link

Same issue here

@tintin10q
Copy link

I have yet to be able to use vite with any project. It starts so fast but there is just always something wrong....

@invisor
Copy link

invisor commented May 29, 2022

Half year has gone, but still not fix? :(

@hakanngul
Copy link
Author

Is it still doing?

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