Closed gorm closed 8 months ago
Hi @gorm,
Based on the error log, this appears to be an issue with wadpi, not Gutenberg. This is probably where the error is occurring.:
How about submitting an issue in the node-wpapi repository?
Yea, I just noticed it myself, that I was using the wrong API. Sorry for this. I will close.
Description
There seems to be an issue with using wpapi with a local wp-json.json file?
The error I get in console:
Uncaught SyntaxError: Invalid regular expression: /^([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?$/i: Unterminated group (at route-tree.js:83:3)
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
The wp-json.json file:
wp-json.json
Environment info
Using WordPress 6.4.3
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes