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

Error in make start-dev #152

Open
rogeriothe opened this issue Oct 30, 2023 · 1 comment
Open

Error in make start-dev #152

rogeriothe opened this issue Oct 30, 2023 · 1 comment

Comments

@rogeriothe
Copy link

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"

@pnicolli
Copy link
Member

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

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

2 participants