Error Message stating "Module Not Found"?


I am currently working on the capstone project for React. It’s called the jamming Project. However I am stuck because I keep receiving this error message

./src/index.jsModule not found: Can't resolve './Components/App/app' in 'C:\Users\Debbie\jamming\src'

the the following code that I have looks like this

import React from ‘react’;
import ReactDOM from ‘react-dom’;
import ‘./index.css’;
import App from “./Components/App/app”;
import reportWebVitals from ‘./reportWebVitals’;



The filename-path has to match exactly including capital or non-capital letters. My App component for this project is in a file called App.js. Components are normally capitalized (for the first letter and start of the following new words - for example SearchResults) in React. Try to change the path to capitalize App when you are importing the App component (you now have app in noncapital letters). Pehaps your file is named App.js? This line should work:

import App from './Components/App/App';