Eu instalei o styled-components e executei o comando npm run dev e apareceu um erro enorme na frente da página e no terminal quando abro seguinte código:
19:37:03 [vite] Internal server error: Failed to resolve import "./App.css" from "src\App.jsx". Does the file exist? Plugin: vite:import-analysis File: C:/Users/Winchester/space-app/src/App.jsx:1:18 15 | window.$RefreshSig$ = RefreshRuntime.createSignatureFunctionForTransform; 16 | } 17 | import "./App.css"; | ^ 18 | function App() { 19 | return /* @PURE */ jsxDEV(Fragment, {}, void 0, false, { at formatError (file:///C:/Users/Winchester/space-app/node_modules/vite/dist/node/chunks/dep-df561101.js:43993:46) at TransformContext.error (file:///C:/Users/Winchester/space-app/node_modules/vite/dist/node/chunks/dep-df561101.js:43989:19) at normalizeUrl (file:///C:/Users/Winchester/space-app/node_modules/vite/dist/node/chunks/dep-df561101.js:41801:33) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async file:///C:/Users/Winchester/space-app/node_modules/vite/dist/node/chunks/dep-df561101.js:41945:47 at async Promise.all (index 3) at async TransformContext.transform (file:///C:/Users/Winchester/space-app/node_modules/vite/dist/node/chunks/dep-df561101.js:41870:13) at async Object.transform (file:///C:/Users/Winchester/space-app/node_modules/vite/dist/node/chunks/dep-df561101.js:44283:30) at async loadAndTransform (file:///C:/Users/Winchester/space-app/node_modules/vite/dist/node/chunks/dep-df561101.js:54950:29) Failed to resolve import "./App.css" from "src\App.jsx". Does the file exist?