我正在运行以下命令:docker-compose up front-build
,但是进程像永远一样(在过去12个小时之后)在front-build_1 | chunk {vendor} vendor.js, vendor.js.map (vendor) 14.2 MB [initial] [rendered]
的这一行冻结,没有错误。
请查看完整日志
root@PAR-134583:~/minds# docker-compose up front-build
minds_front-build_1 is up-to-date
Attaching to minds_front-build_1
front-build_1 | Building frontend, please wait...(this can take a long time)
front-build_1 | npm WARN lifecycle v5.x@0.0.0~postinstall: cannot run in wd v5.x@0.0.0 node patch.js (wd=/var/www/Minds/front)
front-build_1 | npm WARN acorn-dynamic-import@4.0.0 requires a peer of acorn@^6.0.0 but none is installed. You must install peer dependencies yourself.
front-build_1 | npm WARN acorn-jsx@5.0.1 requires a peer of acorn@^6.0.0 but none is installed. You must install peer dependencies yourself.
front-build_1 | npm WARN ajv-keywords@3.4.0 requires a peer of ajv@^6.9.1 but none is installed. You must install peer dependencies yourself.
front-build_1 | npm WARN angular-text-input-autocomplete@0.3.0 requires a peer of @angular/core@>=6.0.0 <7.0.0 but none is installed. You must install peer dependencies yourself.
front-build_1 | npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/fsevents):
front-build_1 | npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
front-build_1 |
front-build_1 | audited 56301 packages in 70.89s
front-build_1 | found 14 vulnerabilities (4 low, 10 moderate)
front-build_1 | run `npm audit fix` to fix them, or `npm audit` for details
front-build_1 |
front-build_1 | > v5.x@0.0.0 postinstall /var/www/Minds/front
front-build_1 | > node patch.js
front-build_1 |
front-build_1 |
front-build_1 | > node-sass@4.10.0 install /var/www/Minds/front/node_modules/node-sass
front-build_1 | > node scripts/install.js
front-build_1 |
front-build_1 | node-sass build Binary found at /var/www/Minds/front/node_modules/node-sass/vendor/linux_musl-x64-57/binding.node
front-build_1 |
front-build_1 | > node-sass@4.10.0 postinstall /var/www/Minds/front/node_modules/node-sass
front-build_1 | > node scripts/build.js
front-build_1 |
front-build_1 | Binary found at /var/www/Minds/front/node_modules/node-sass/vendor/linux_musl-x64-57/binding.node
front-build_1 | Testing binary
front-build_1 | Binary is fine front-build_1 | node-sass@4.10.0 /var/www/Minds/front/node_modules/node-sass
front-build_1 |
front-build_1 | > v5.x@0.0.0 prebuild-dev /var/www/Minds/front
front-build_1 | > gulp build.sass --deploy-url=http://localhost/en
front-build_1 |
front-build_1 | [18:37:25] Requiring external module ts-node/register
front-build_1 | [18:37:33] Using gulpfile /var/www/Minds/front/gulpfile.ts
front-build_1 | [18:37:33] Starting 'build.sass'...
front-build_1 | [18:37:57] Finished 'build.sass' after 23 s
front-build_1 |
front-build_1 | > v5.x@0.0.0 build-dev /var/www/Minds/front
front-build_1 | > ng build --output-path dist/en --deploy-url=/en/ --watch=true
front-build_1 |
front-build_1 |
front-build_1 | Date: 2019-06-17T18:40:43.735Z
front-build_1 | Hash: 6d280166dc6921b1b64a
front-build_1 | Time: 155232ms
front-build_1 | chunk {main} main.js, main.js.map (main) 4.93 MB [initial] [rendered]
front-build_1 | chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 237 kB [initial] [rendered]
front-build_1 | chunk {runtime} runtime.js, runtime.js.map (runtime) 6.08 kB [entry] [rendered]
front-build_1 | chunk {scripts} scripts.js, scripts.js.map (scripts) 199 kB [entry] [rendered]
front-build_1 | chunk {styles} styles.js, styles.js.map (styles) 3.41 MB [initial] [rendered]
front-build_1 | chunk {vendor} vendor.js, vendor.js.map (vendor) 14.2 MB [initial] [rendered]
因为没有错误可以停止进程,所以我不知道这可能是错误的。有什么想法吗?预先感谢。