Ravenous part 1

hello everyone, Im doing the ravenous project and i got this error code:

./src/components/App/App.jsModule not found: Can't resolve './logo.svg' in 'C:\Users\James\ravenous\src\components\App'

when i look at the app.js file this is the code i have there:

import React from ‘react’;
import logo from ‘./logo.svg’;
import ‘./App.css’;

class App extends React.Component {
return (


Edit src/App.js and save to reload.

Learn React

export default App;

idk where this error is coming from, it all happened after i changed app.css and app.js to the app folder.

Yes I got the same thing - is it to do with changing more filepaths than just the one to App?

Hey I think I solved this by copying the logo.svg into components/App. Well for the moment it doesn’t look broken. Does that solve your problem too?

Hey, I literally just figured it out lol. It was the file path. I needed to write ./…/…/logo.svg.

I didn’t realize I was two folders in. Components and then App. Thought the logo was in component. Thanks for the help. I appreciate it


thanks, had the same issue and this solved it!

I also had the SAME issue & copying logo.svg solved the error!

THANK YOUUU I was stuck on this for so long!

1 Like