Ravenous part 1

I am getting this error when trying to import a module to app.js

" ./src/App.jsModule not found: Can’t resolve ‘./src/components/BusinessList/BusinessList.js’ in ‘/Users/macbook/Desktop/ravenous/src’ "

could my file path be wrong ?

this is what it looks like
import BusinessList from './src/components/BusinessList/BusinessList.js'
if i use a relative path or put all the files in side of the src folder it works a and renders everything

41%20PM

I will attach a picture of my file structure plz help

Hey guys nevermind as it turns out my file structure was wrong :slight_smile: and I found where I went wrong

1 Like