Hello @afshinmoshrefi,
first make sure, that you follow steps in the usage information (https://wordpress.org/support/plugin/reactpress/), step by step. Exactly in that order.
The slug needs to be available, and it can’t be a child page. It needs to be DOMAIN/YOUR-SLUG. If another page already uses this slug, even a page in the trash, ReacPress won’t work.
If this doesn’t work for you, I would recommend, that you try it with Local as dev environment.
My ubuntu 20.04 instance is running as a virtualbox VM on my desktop.
I have followed your instructions step by step multiple times.
I think the issue is with permissions.
Does reactpress have a error log I could look at?
I have tried chown on all the files and tried user_owner = root www-data and my personal one. reactpress has consistently given me a 404 error. Everything seems to run fine independently; it just doesn’t work with reactpress.
one observations: reactpress creates a page in WP with the name of my slug visible in the dashboard. When I try to view that page from the dashboard I also get a 404 error; however if I create a page manually on wordpress it works as expected.
Not sure where to go from here.
I personally doubt that it has something to do with permissions.
Could you use local by flywheel for development?
Working now. It was my issue. I copied the contents of build folder to the app folder. I should have copied the build folder and kept it intact.