Deploy expo-web-build to tomcat

I have build “web-build” folder using expo build:web command.
And i kept in a tomcat and started it.
The server started successfully but I’m getting only white screen.

In console, it is showing
Failed to load resource: the server responded with a status of 404 (Not Found)
2.49e9086c.chunk.js:1
Failed to load resource: the server responded with a status of 404 (Not Found)
app.0db7addd.chunk.js:1

Is anyone tried this, can i get any solution?

We solved it, by setting home page in package.json
“homepage”: “/web-build”

And again build the project and then deploy to tomcat. Then it will work

Thanks for sharing the solution with the community, @john_kiran_g.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.