Open apussycat opened 3 years ago
PS D:\project\saas-manage-platform> npm run build
saas-react-onlischool@1.0.0 build node scripts/build.js
Creating an optimized production build... Failed to compile.
Failed to minify the code from this file:
./node_modules/_react-zmage@0.8.5-beta.37@react-zmage/lib/zmage.js:2:353
Read more here: http://bit.ly/2tRViJ9
"react": "^16.12.0", "react-clipboardjs-copy": "^1.3.1", "react-copy-to-clipboard": "^5.0.2", "react-dev-utils": "^5.0.1", "react-dom": "^16.4.0", "react-markdown": "^4.0.4", "react-redux": "^5.0.7", "react-route": "^1.0.3", "react-router": "^4.3.1", "react-router-config": "^1.0.0-beta.4", "react-router-dom": "^4.3.1", "react-router-redux": "^5.0.0-alpha.9", "react-sortable-hoc": "^1.11.0", "react-zmage": "^0.8.5-beta.36",
Yes, I've met the question as you too how to solve
PS D:\project\saas-manage-platform> npm run build
Creating an optimized production build... Failed to compile.
Failed to minify the code from this file:
Read more here: http://bit.ly/2tRViJ9
"react": "^16.12.0", "react-clipboardjs-copy": "^1.3.1", "react-copy-to-clipboard": "^5.0.2", "react-dev-utils": "^5.0.1", "react-dom": "^16.4.0", "react-markdown": "^4.0.4", "react-redux": "^5.0.7", "react-route": "^1.0.3", "react-router": "^4.3.1", "react-router-config": "^1.0.0-beta.4", "react-router-dom": "^4.3.1", "react-router-redux": "^5.0.0-alpha.9", "react-sortable-hoc": "^1.11.0", "react-zmage": "^0.8.5-beta.36",