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

when I run command npm run dist, it failed to compile. #1159

Open
z416479660 opened this issue Jan 16, 2025 · 0 comments
Open

when I run command npm run dist, it failed to compile. #1159

z416479660 opened this issue Jan 16, 2025 · 0 comments
Assignees

Comments

@z416479660
Copy link

Describe the issue
I exec run install in front folder succeed, but when i exec npm run dist in windows or ubuntu, it always faied.

The error message is as follows
/opt/mediacms/frontend/src/static/js/utils/helpers/math.js has no id assigned.
This should not happen.
It's in these chunks: none (If module is in no chunk this indicates a bug in some chunk/module optimization logic)
Module has these incoming connections:

  • /opt/mediacms/frontend/node_modules/babel-loader/lib/index.js!/opt/mediacms/frontend/src/static/js/utils/helpers/index.js harmony side effect evaluation
  • /opt/mediacms/frontend/node_modules/babel-loader/lib/index.js!/opt/mediacms/frontend/src/static/js/utils/helpers/index.js harmony export imported specifier
  • /opt/mediacms/frontend/node_modules/babel-loader/lib/index.js!/opt/mediacms/frontend/src/static/js/utils/helpers/propTypeFilters.js harmony side effect evaluation
  • /opt/mediacms/frontend/node_modules/babel-loader/lib/index.js!/opt/mediacms/frontend/src/static/js/utils/helpers/propTypeFilters.js harmony import specifier
  • /opt/mediacms/frontend/node_modules/babel-loader/lib/index.js!/opt/mediacms/frontend/src/static/js/utils/helpers/propTypeFilters.js harmony import specifier
    root@hcss-ecs-ac1d:/opt/mediacms/frontend# cd ..
    root@hcss-ecs-ac1d:/opt/mediacms# bash install.sh
    Welcome to the MediacMS installation!

Screenshots
image

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