bajcmartinez / chrome-react-seo-extension

The power of React and TypeScript for building interactive Chrome extensions
84 stars 64 forks source link

'craco start' script does not work. #3

Open Rickyoung221 opened 2 years ago

Rickyoung221 commented 2 years ago

A error will be shown:

REAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

Even fix this error, still cannot render the popup page in the localhost, development mode.

bajcmartinez commented 2 years ago

that's strange, did you upgrade CRA to 5?

Rickyoung221 commented 2 years ago

yes

DevooKim commented 2 years ago

The same error occurs when using node v17.4.0. Changing node v16.14 has solved.

bajcmartinez commented 2 years ago

There are issues with Craco and CRA 5 (or react scripts 5), https://github.com/gsoft-inc/craco/issues/378

Until that gets fixed I can't upgrade all the dependencies on the project, it is quite unfortunate, hopefully, we can resolve those soon.

I'll keep this open in the hope of news on that, once all is fixed I'll upgrade the dependencies and resolve this issue.

Thanks