Open joehoyle opened 2 years ago
@joehoyle I found the solution to this problem. The project only works with create-react-app up to version 2. This command works:
npx create-react-app@2 app-name --scripts-version react-wp-scripts --php-namespace="Your_Namespace" /path/to/your/project/folder
Looks like react-wp-scripts needs to be updated to support the latest create-react-app.
Following the guidelines on the readme, running (node 16):
I get this error: