> gifsicle@0.1.7 postinstall C:\projects\npm-test\node_modules\gifsicle
> node index.js
path.js:28
throw new errors.TypeError('ERR_INVALID_ARG_TYPE', 'path', 'string');
^
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string
在docdoku-server\docdoku-server-web\yo项目中,package.json中有以下开发依赖
"grunt-contrib-imagemin": "~0.5.0"
删除该依赖,问题解决
在docdoku-server\docdoku-server-web\yo项目中,bower.json的依赖中包含以下文件:
"less-elements": "latest"
下载时,提示Repository not found,查看github,在thesnews/less-elements项目中发现Backup copy of dmitryf/elements… since it went away
将bower中的依赖指定如下下载地址,问题解决。
"less-elements": "https://github.com/thesnews/less-elements.git#latest"
修改完以上两个问题,运行mvn install
,编译成功
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] docdoku-plm ........................................ SUCCESS [ 1.176 s]
[INFO] docdoku-common Common Packages ..................... SUCCESS [ 2.910 s]
[INFO] docdoku-cli Command Line Interface ................. SUCCESS [ 3.376 s]
[INFO] docdoku-dplm ....................................... SUCCESS [ 0.098 s]
[INFO] docdoku-server ..................................... SUCCESS [ 0.050 s]
[INFO] docdoku-server-ext Java EE 7 Extensions API ........ SUCCESS [ 0.203 s]
[INFO] docdoku-server-converter-step Java EE 7 step Converter SUCCESS [ 0.235 s]
[INFO] docdoku-server-converter-dae Java EE 7 dae Converter SUCCESS [ 0.142 s]
[INFO] docdoku-server-converter-obj Java EE 7 step Converter SUCCESS [ 0.110 s]
[INFO] docdoku-server-converter-all Java EE 7 ALL Converter SUCCESS [ 0.128 s]
[INFO] docdoku-server-converter-ifc Java EE 7 IFC Converter SUCCESS [ 0.117 s]
[INFO] docdoku-server-converter-catia Java EE 7 Catia Converter SUCCESS [ 0.110 s]
[INFO] docdoku-server-converter-catia-product Java EE 7 CATProduct Parser SUCCESS [ 0.125 s]
[INFO] docdoku-server-scorm ............................... SUCCESS [ 0.164 s]
[INFO] docdoku-server-office-doc .......................... SUCCESS [ 0.253 s]
[INFO] docdoku-server-viewer-image ........................ SUCCESS [ 0.195 s]
[INFO] docdoku-server-viewer-multimedia ................... SUCCESS [ 0.125 s]
[INFO] docdoku-server-ejb Java EE 7 Core .................. SUCCESS [ 2.031 s]
[INFO] docdoku-server-web Java EE 7 Webapp ................ SUCCESS [02:24 min]
[INFO] docdoku-server-ear Java EE 7 Assembly .............. SUCCESS [ 4.212 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:40 min
[INFO] Finished at: 2018-01-31T15:27:46+08:00
[INFO] Final Memory: 26M/247M
[INFO] ------------------------------------------------------------------------