- SDK Version: expo ~41.0.1
- Platforms(Android/iOS/web/all): web
expo start --web
runs everything fine.
expo build:web
- serving the web-build folder, everything works but if i refresh the url = 404
Ideally what i want is to run project by just opening up the index.html so i can host this easily, why do i need to serve this?
when i open the html file without serving, i get this error
react-native-logs.fx.ts:34 DOMException: Failed to execute 'replaceState' on 'History': A history state object with URL 'file:///Splash' cannot be created in a document with origin 'null' and URL 'file:///Users/username/Documents/expoProject/web-build/index.html'.
Splash is the initial component
//package.json
{
"homepage": "./",
...
}