My site name is jialin-weather-app.netlify.app
I am trying to deploy a simple react weather app on netlify. When I run npm run build in my local machine, it works fine.
My error message looks like
And my build setting looks like:
Build settings
Runtime
Not set
Base directory
client
Package directory
Not set
Build command
npm run build
Publish directory
client/build
Functions directory
client/netlify/functions
Deploy log visibility
Logs are public
Build status
Active
Why its saying Module not found: Error: Can"t resolve “./assets/backgrounds/background.png” in “/opt/build/repo/client/src”, I don’t get this error in my local deployment