Hey @angeloprima1230,
unfortunately, nextjs is not supported. Only create-react-app projects are supported.
Best
Thanks for reply fast.
I think so too. But as you know, I’ll upload the build folder for deploying on online server.
So I tried it as following.
First, I was made the apps/appName/build.
next I’ve copied the regular index.html. ( this is the regular deploying action on online server. so I did as it on local server too)
But I’m getting the same error.
could you explain the reason ?
Best.
Probably the file structure is different.
Maybe build a dummy app with create-react-app and test it out with it.
Another question: do you have a page with the page slug already? Even in your trashbin?
Hi ! thanks for your help.
but I have the issue now too.
1. I’ve installed reactpress plugin on WP, and I’m working on it manual mode.
2. I’ve created the default react project on command line ( in wp-content/reactpress/apps/ ) and built it , next run it on command line. All is ok.
3. I’ve checked the project holder ( ‘cosmic’ ) on reactpress
https://prnt.sc/26kgljh
4. I’ve tried to set the page slug for react app. then it has error. It was failed.
https://prnt.sc/26kgo03
In detail error status,
https://prnt.sc/26kgp2a
https://prnt.sc/26kgpub
It’s responsive is “”, so it has error for parsing response.
5. refresh the reactpress panel page. then it seems to be added the react app page url but it was not work.
https://prnt.sc/26kgr92
could you explain why it has error with reactpress plugin?
Can you activate debug mode for WordPress? I suspect that there is some underlying PHP error before. The JSON problem is only a result of that.