Closed iMohamedSamir closed 1 year ago
See #230
Your links mention config paths specific to certain types of projects. You have to figure out where is the webpack config should be in your project.
I was creating webpack.config.js
in the root folder, right beside config.json
but it had to effect, only when I added the rule manually to node_modules\react-scripts\config\webpack.config.js
it worked and I got ride of the error I have another another one: parseley__WEBPACK_IMPORTED_MODULE_4__.parse1 is not a function
toAstTerminalPairs projectPath/node_modules/selderee/lib/selderee.mjs:154
this time the error is only in the component which I am using html-to-text in.
It's not my first time seeing this error, I had it yesterday when I was trying the previously mentioned solutions. but I though react-app-rewired
caused it.
But the error appears even if am not using react-app-rewired
.
I think I am ready to give up now, I will try to RegEx the hell out my raw html lol.
I'm sorry for all the trouble. Real life interfere with all my development plans.
You can try the version 7.1.1 - it lacks some features but it should be free of this issue. Perhaps I can release 7.1.2 quickly to resolve audit issues there.
I'll think whether I can break the grand release of v9 into parts to get the feedback on it earlier. (I expect it might solve this issue but I'm not sure.)
Version 9 is now public. Based on little feedback I've got in #252, webpack issue should be fixed now. Please open a new issue in case there is any problem with version 9.
I am keep having this error:
when I am using html-to-text to convert some raw html string.
I tried almost every single solution of both these issues: https://github.com/html-to-text/node-html-to-text/issues/229 https://github.com/reactioncommerce/reaction-component-library/issues/399 but nothing worked, expect: https://github.com/reactioncommerce/reaction-component-library/issues/399#issuecomment-467860022 which raised an entirely different error:
parseley__WEBPACK_IMPORTED_MODULE_4__.parse1 is not a function
Here are my dependencies, if it helps
any adives?