-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[vite] Internal server error: Unexpected string Plugin: vite:css #2793
Comments
So the error trace shows that it's raised by Please check your PostCSS config file in the upper-level directories of your cloned project. |
On the other side, though the Contributions are welcome. |
Thank you! There was indeed a PostCSS config file in the upper-level directories -- removing that solved the error. |
Hello @mariusa. We like your proposal/feedback and would appreciate a contribution via a Pull Request by you or another community member. We thank you in advance for your contribution and are looking forward to reviewing it! |
Describe the bug
I get the same error by simply closing any of these 2 projects, run
npm install
andnpm run dev
:https://github.com/martinussuherman/vue-template
https://github.com/matt-auckland/vite-vue2-starter
Once I managed to get the error when removing depency
@vue/cli-service
(#2757). Adding it to those 2 projects doesn't get rid of the error though.Reproduction
https://github.com/martinussuherman/vue-template
There must be something wrong with my setup, since these 2 projects work for others.
But vite doesn't make it clearer what that is.
System Info
vite 2.1.4
Output of
npx envinfo --system --npmPackages vite,@vitejs/plugin-vue --binaries --browsers
:Used package manager:
npm
I also have these installed
Logs
Before submitting the issue, please make sure you do the following
no answer in Q&A, Discord says invite is invalid.
The text was updated successfully, but these errors were encountered: