Skip to content
This repository has been archived by the owner on Apr 12, 2022. It is now read-only.

[vite] failed to load config from /Users/crazyair/Code/my-react-project/vite.config.js: #66

Open
crazyair opened this issue Dec 24, 2020 · 1 comment

Comments

@crazyair
Copy link

image

➜  my-react-project yarn dev
yarn run v1.22.5
warning package.json: No license field
$ vite
[vite] failed to load config from /Users/crazyair/Code/my-react-project/vite.config.js:
/Users/crazyair/Code/my-react-project/vite.config.js:2
import reactPlugin from 'vite-plugin-react'
       ^^^^^^^^^^^
@underfin
Copy link
Member

Look like the vite-plugin-react is not installed.Can you have a try with yarn add 'vite-plugin-react' --dev?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants