Can't deploy to netlify from github

I am trying to deploy in netlify with GitHub.
This my repo: GitHub - Apu-Emdad/E-Mart-Client
I am trying to deploy the master branch.

I am getting this error:

 Could not resolve ../Assets/CSS/ProductList.css from src/Pages/ProductList.jsx
11:14:09 AM: file: /opt/build/repo/src/Pages/ProductList.jsx
11:14:09 AM: error during build:
11:14:09 AM: RollupError: Could not resolve ../Assets/CSS/ProductList.css from src/Pages/ProductList.jsx
11:14:09 AM:     at error (file:///opt/build/repo/node_modules/rollup/dist/es/shared/node-entry.js:2245:30)
11:14:09 AM:     at ModuleLoader.handleInvalidResolvedId (file:///opt/build/repo/node_modules/rollup/dist/es/shared/node-entry.js:24736:24)
11:14:09 AM:     at file:///opt/build/repo/node_modules/rollup/dist/es/shared/node-entry.js:24698:26

So far, I haven’t found any case-sensitivity isue. You can still look up to the repo (master branch). What is the solution of the issue?

image

/assets/CSS/ProductList.css !== /Assets/CSS/ProductList.css

I just checked github. Locally i’ve the folder named “Assets”. But in GitHub it’s “assets”. Everything is up to date.

@Apu_Emdad That’s great, but Netlify doesn’t go based on what is on your local drive, it goes by what is in your repository.

You should google how to ensure your repository has the changes, e.g.

1 Like

@nathanmartin
Thank you for your kind response. It helps.

1 Like