Expo bareworkflow web Image cannot be found

Please provide the following:

  1. SDK Version: 45.0.0
  2. Platforms(Android/iOS/web/all): web
  3. Add the appropriate “Tag” based on what Expo library you have a question on.

I am trying to display an image and on the web version, it cant seem to find the path of the source image. Do I need to configure anything after setting up with expo init?

//Error
Module not found: Can’t resolve ‘./assets/Icon/Home/switchViewIcon.png’

//App.js
export default function App() {
return (

Hi??
<Image
source={require(“./assets/Icon/Home/switchViewIcon.png”)}
style={{ width: 50, height: 50 }}
/>

);
}