这是在incubator-dubbo-ops中执行 mvn clean package 时 发生的错误
[INFO] --- frontend-maven-plugin:1.6:npm (npm install) @ dubbo-admin-frontend --- [INFO] Running 'npm install' in /root/incubator-dubbo-ops/dubbo-admin-frontend [WARNING] npm WARN deprecated [email protected]: Deprecated. Please use https://github.com/webpack-contrib/mini-css-extract-plugin [WARNING] npm WARN deprecated [email protected]: Switch to the `bfj` package for fixes and new features! [WARNING] npm WARN deprecated [email protected]: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools. [WARNING] npm WARN deprecated [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3. [WARNING] npm WARN deprecated [email protected]: CircularJSON is in maintenance only, flatted is its successor. [WARNING] npm WARN deprecated [email protected]: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools. [INFO] [INFO] > [email protected] postinstall /root/incubator-dubbo-ops/dubbo-admin-frontend/node_modules/core-js [INFO] > node -e "try{require('./postinstall')}catch(e){}" [INFO] [INFO] Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library! [INFO] [INFO] The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: [INFO] > https://opencollective.com/core-js [INFO] > https://www.patreon.com/zloirock [INFO] [INFO] Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -) [INFO] [INFO] [INFO] > [email protected] postinstall /root/incubator-dubbo-ops/dubbo-admin-frontend/node_modules/ejs [INFO] > node ./postinstall.js [INFO] [INFO] Thank you for installing EJS: built with the Jake JavaScript build tool (https://jakejs.com/) [INFO] [INFO] [INFO] > [email protected] postinstall /root/incubator-dubbo-ops/dubbo-admin-frontend/node_modules/webpack/node_modules/uglifyjs-webpack-plugin [INFO] > node lib/post_install.js [INFO] [ERROR] npm notice created a lockfile as package-lock.json. You should commit this file. [WARNING] npm WARN [email protected] requires a peer of ajv@>=5.0.0 but none is installed. You must install peer dependencies yourself. [WARNING] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents): [WARNING] npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) [ERROR] [INFO] added 1360 packages in 48.068s [INFO] [INFO] --- frontend-maven-plugin:1.6:npm (npm run build) @ dubbo-admin-frontend --- [INFO] Running 'npm run build' in /root/incubator-dubbo-ops/dubbo-admin-frontend [INFO] [INFO] > [email protected] build /root/incubator-dubbo-ops/dubbo-admin-frontend [INFO] > node build/build.js [INFO] 执行到 node build/build.js 后就不运行了,单独在此 incubator-dubbo-ops/dubbo-admin-frontend 目录下执行 npm run build 后就出现了上面的问题 [ Full content available at: https://github.com/apache/dubbo-admin/issues/580 ] This message was relayed via gitbox.apache.org for [email protected]
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
