You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "STrongerLiang (GitHub)" <gi...@apache.org> on 2020/02/23 06:01:35 UTC

[GitHub] [dubbo-admin] STrongerLiang commented on issue #580: npm run build出现错误

这是在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 extract-text-webpack-plugin@3.0.2: Deprecated. Please use https://github.com/webpack-contrib/mini-css-extract-plugin
[WARNING] npm WARN deprecated bfj-node4@5.3.1: Switch to the `bfj` package for fixes and new features!
[WARNING] npm WARN deprecated browserslist@2.11.3: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
[WARNING] npm WARN deprecated core-js@2.6.11: 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 circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
[WARNING] npm WARN deprecated browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
[INFO] 
[INFO] > core-js@2.6.11 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] > ejs@2.7.4 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] > uglifyjs-webpack-plugin@0.4.6 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 ajv-errors@1.0.1 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: fsevents@1.2.11 (node_modules/fsevents):
[WARNING] npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.11: 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] > dubbo-admin-frontend@1.0.0 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 notifications@dubbo.apache.org