@techiethemastermind It looks like you are using a Windows system. This is your dev system, I assume. I can’t test Windows systems, so support is only experimental.
I can’t tell you why you can’t download the page. But this shouldn’t have anything to do with the integration into the page.
My suggestion would be to try LocalWP as the dev server. Preferably on WSL-2. Or revert to a working version of ReactPress (No, security changes were applied).
I don’t have a better solution. Sorry.
-
This reply was modified 2 years, 8 months ago by
rockiger.
-
This reply was modified 2 years, 8 months ago by
rockiger.
I have the same issue when deploying my app to a Linux server. These are the steps I did:
- build the app with
npm run build
- upload the
build folder to wp-content/reactpress/apps/APP_NAME
- go to ReactPress in wp admin
- add a page to my app
After that I got the message “Couldn’t download page content.”, sshot available here:
https://drive.google.com/file/d/18hn03W1oby-j8BLDEhtxqImmwY8vT43O/view?usp=sharing
ReactPress version: 3.2.2
WordPress version: 6.4.3
Sorry to hear that.
I will investigate this.
@xmak What happens when you reload the page. Is the new/selected page there and if yes, is the React page displayed?
I can confirm an error message which shouldn’t be there, but the page gets always created, and the app is displayed on the page.