You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "SkyGoto (GitHub)" <gi...@apache.org> on 2018/12/16 10:23:05 UTC

[GitHub] [incubator-dubbo-ops] SkyGoto opened issue #202: 使用 mvn clean package 时报错

求助:
第一次尝试 
 用 `mvn clean package ` 时报了以下错误,不知道如何解决,求帮助,谢谢

`[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 bfj-node4@5.3.1: Switch to the `bfj` package for fixes and new features!
[WARNING] npm WARN deprecated browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
[WARNING] npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
[INFO] 
[INFO] > uglifyjs-webpack-plugin@0.4.6 postinstall /home/ubuntu/dubbo_admin/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.4 (node_modules/fsevents):
[WARNING] npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
[ERROR] 
[INFO] added 1267 packages in 32.48s
[INFO] 
[INFO] --- frontend-maven-plugin:1.6:npm (npm run build) @ dubbo-admin-frontend ---
[INFO] Running 'npm run build' in /home/ubuntu/dubbo_admin/incubator-dubbo-ops/dubbo-admin-frontend
[INFO] 
[INFO] > dubbo-admin-frontend@1.0.0 build /home/ubuntu/dubbo_admin/incubator-dubbo-ops/dubbo-admin-frontend
[INFO] > node build/build.js
[INFO] 
[ERROR] Killed
[ERROR] npm ERR! code ELIFECYCLE
[ERROR] npm ERR! errno 137
[ERROR] npm ERR! dubbo-admin-frontend@1.0.0 build: `node build/build.js`
[ERROR] npm ERR! Exit status 137
[ERROR] npm ERR! 
[ERROR] npm ERR! Failed at the dubbo-admin-frontend@1.0.0 build script.
[ERROR] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
[ERROR] 
[ERROR] npm ERR! A complete log of this run can be found in:
[ERROR] npm ERR!     /home/ubuntu/.npm/_logs/2018-12-16T10_06_37_619Z-debug.log
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] dubbo-admin ........................................ SUCCESS [  1.896 s]
[INFO] dubbo-admin-frontend ............................... FAILURE [01:12 min]
[INFO] dubbo-admin-backend ................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:15 min
[INFO] Finished at: 2018-12-16T18:06:37+08:00
[INFO] Final Memory: 18M/45M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.6:npm (npm run build) on project dubbo-admin-frontend: Failed to run task: 'npm run build' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 137 (Exit value: 137) -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :dubbo-admin-frontend
`

[ Full content available at: https://github.com/apache/incubator-dubbo-ops/issues/202 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [incubator-dubbo-ops] SkyGoto commented on issue #202: 使用 mvn clean package 时报错

Posted by "SkyGoto (GitHub)" <gi...@apache.org>.
Linux version 4.4.0-139-generic (buildd@lcy01-amd64-006) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.10) ) #165-Ubuntu SMP Wed Oct 24 10:58:50 UTC 2018

java version "1.8.0_191"
Java(TM) SE Runtime Environment (build 1.8.0_191-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.191-b12, mixed mode)




[ Full content available at: https://github.com/apache/incubator-dubbo-ops/issues/202 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org


[GitHub] [incubator-dubbo-ops] SkyGoto commented on issue #202: 使用 mvn clean package 时报错

Posted by "SkyGoto (GitHub)" <gi...@apache.org>.
Linux version 4.4.0-139-generic (buildd@lcy01-amd64-006) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.10) ) #165-Ubuntu SMP Wed Oct 24 10:58:50 UTC 2018

Ubuntu 16.04.5 LTS

java version "1.8.0_191"
Java(TM) SE Runtime Environment (build 1.8.0_191-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.191-b12, mixed mode)




[ Full content available at: https://github.com/apache/incubator-dubbo-ops/issues/202 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org


[GitHub] [incubator-dubbo-ops] majinkai commented on issue #202: 使用 mvn clean package 时报错

Posted by "majinkai (GitHub)" <gi...@apache.org>.
你把os,jdk的版本发一下,明天试试

[ Full content available at: https://github.com/apache/incubator-dubbo-ops/issues/202 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [incubator-dubbo-ops] majinkai commented on issue #202: 使用 mvn clean package 时报错

Posted by "majinkai (GitHub)" <gi...@apache.org>.
```[WARNING] npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})```

看上去像是这里导致的

[ Full content available at: https://github.com/apache/incubator-dubbo-ops/issues/202 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [incubator-dubbo-ops] SkyGoto closed issue #202: 使用 mvn clean package 时报错

Posted by "SkyGoto (GitHub)" <gi...@apache.org>.
[ issue closed by SkyGoto ]

[ Full content available at: https://github.com/apache/incubator-dubbo-ops/issues/202 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org


[GitHub] [incubator-dubbo-ops] SkyGoto commented on issue #202: 使用 mvn clean package 时报错

Posted by "SkyGoto (GitHub)" <gi...@apache.org>.
什么修改建议吗 , 不会是换系统把...不太切合实际

[ Full content available at: https://github.com/apache/incubator-dubbo-ops/issues/202 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [incubator-dubbo-ops] TeddyTsui commented on issue #202: 使用 mvn clean package 时报错

Posted by "TeddyTsui (GitHub)" <gi...@apache.org>.
[https://github.com/bluesmoon/node-geoip/issues/72](url)
尝试分配更多内存?

[ Full content available at: https://github.com/apache/incubator-dubbo-ops/issues/202 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [incubator-dubbo-ops] SkyGoto commented on issue #202: 使用 mvn clean package 时报错

Posted by "SkyGoto (GitHub)" <gi...@apache.org>.
好像是这样的 , 之前是直接跑在云服务器上,没有关注内存信息, 我在本地新建一个虚拟机测试一下 的确是内存的问题,在高峰期甚至会达到近3G, 多谢帮助,谢谢

![system](https://user-images.githubusercontent.com/32897640/50077454-6ac44480-021f-11e9-8e94-3102c944d12b.png)


[ Full content available at: https://github.com/apache/incubator-dubbo-ops/issues/202 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org