elasticpress-react icon indicating copy to clipboard operation
elasticpress-react copied to clipboard

Component won't load

Open agarciapancan opened this issue 3 years ago • 1 comments

Describe the bug

When the react script starts there is this problem factoryWithTypeCheckers.js:172 Uncaught ReferenceError: process is not defined

Steps to Reproduce

pull version "@10up/elasticpress-react": "^2.1.1" and try to load the components and the error will terminate the process.

Screenshots, screen recording, code snippet

No response

Environment information

No response

WordPress information

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

agarciapancan avatar Jul 12 '22 01:07 agarciapancan

I think I have the similar issue. I'm using webpack to build my front-end code. If I set { mode: "production" } in my webpack.config.js, I don't get this issue. Unfortunately, this means I can't use source maps and so on...

joaquimds avatar Feb 18 '25 14:02 joaquimds