Open rogeriothe opened 10 months ago
Hi, this is in fact a knows issue with dependencies that has no proper fix yet.
You can use this workaround: before running make start-dev
remove all node_modules from this addon by running
rm -rf node_modules
What resolve this error:
ERROR in ./src/addons/design-comuni-plone-theme/node_modules/react-highlight-words/dist/main.js Module build failed (from ./node_modules/razzle/config/babel-loader/razzle-babel-loader.js): TypeError: /app/src/addons/design-comuni-plone-theme/node_modules/react-highlight-words/dist/main.js: Property left of AssignmentExpression expected node to be of a type ["LVal","OptionalMemberExpression"] but instead got "BooleanLiteral"