Failed to compile (React import error)

Hello everybody… I just started my react project… I moved two files(App.css,App.js) from src/ to src/components/App. I updated index.js what is in src/ folder to this import App from "./components/App/App"; But I got this error message on the browser

`Failed to compile

./src/components/App/App.js
Module not found: Can’t resolve ‘./logo.svg’ in ‘C:\Users\rapid\Documents\Codecademy\reactapps\ravenous\src\components\App’`

Any anyone know the solution for this problem?

Thank you

Did you also move the logo.svg file? :slight_smile:

Yes is working now. Thank you

1 Like

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.