Jamming step 13: 'Can't resolve'

In the Jammming project (https://www.codecademy.com/paths/web-development/tracks/front-end-applications-with-react/modules/jammming/projects/jammming-prj) i get a ‘Failed to compile’ message on step 13:

./src/Components/App/App.css (./node_modules/css-loader/dist/cjs.js??ref--5-oneOf-4-1!./node_modules/postcss-loader/src??postcss!./src/Components/App/App.css)Error: Can't resolve './background_photo_desktop.jpg' in '/Users/BAMeyer/Documents/Jamming/jamming/src/Components/App'

I don’t understand what this error is. Any help would be appreciated. :slight_smile:

Hello, and welcome to the forums!

Your App.css file is referring to an image that doesn’t exist, so it’s throwing an error. Did you move the background_photo_desktop.jpg file to the same directory as App.css?

If you renamed the file or didn’t move it to where App.css is, then you’d need to update this line of the CSS:
background-image: url('./background_photo_desktop.jpg');

1 Like

You are correct. I had renamed my background image when I saved it to my files, but I did not update the link in the App.css. Thanks so much!