Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

throw err in theme-folder\react-folder\nodule_modules\@devloco\react-scripts-wptheme\scripts\wpstart.js:19 #74

Open
daquanwright opened this issue Apr 28, 2024 · 2 comments

Comments

@daquanwright
Copy link

Hello to anyone reading this (I'm guessing no one since this project looks pretty inactive at this point, still want to give it one last try before I move on to other options for integrating React with WordPress).

Initially I was creating a headless WordPress website using React as the frontend, it's for my portfolio and blog. I was thinking of going this route because it's simpler to pull in WP specific widgets and components versus recreating too many elements or querying many objects to get things on the posts pages specifically. I want to know if anyone understands that error I'm showing in the screenshots and has a solution?

I'd rather not waste my time if the project is no longer being supported with the modern versions of Node, webpack, and React, please let me know if anyone is around!

image

image

@jerryagenyi
Copy link

jerryagenyi commented Sep 28, 2024

Hi @daquanwright did you make any progress with this? I am a designer with Wordpress but learning react.js and how I could integrate it with WP. I am very new to React. Have you also considered using AI if it might help? Also if you have found other more current solutions, please could you loop me in?

Thank you.

@jessegraddy91
Copy link

I had the same issue and only half solved it. I ran "npm update", then "npm audit fix --force". This got rid of the current error and the second one I ran into, but has given me a new one in place of those two.

react-src\node_modules\@devloco\react-scripts-wptheme\scripts\wpstart.js:19
    throw err;
    ^

TypeError: Cannot read properties of undefined (reading 'compilation')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants