coderemixer / animal-crossing-spot-trading-system

动物森友会大宗商品交易盘外撮合系统
GNU General Public License v3.0
190 stars 17 forks source link

启动失败 #4

Closed tfdetang closed 4 years ago

tfdetang commented 4 years ago

clone项目后使用 docker-compose 启动,持续弹出dashboard退出的错误

dashboard_1  |
dashboard_1  | > dashboard@0.1.0 serve /app
dashboard_1  | > vue-cli-service serve
dashboard_1  |
dashboard_1  | sh: vue-cli-service: not found
db_1         | chmod: /var/lib/postgresql/data: Operation not permitted
web_1        | psql: could not connect to server: Connection refused
web_1        |  Is the server running on host "db" (172.21.0.2) and accepting
web_1        |  TCP/IP connections on port 5432?

---------------------------------------------------------------------------------------

animal-crossing-spot-trading-system_dashboard_1 exited with code 1
dashboard_1  | 
dashboard_1  | > dashboard@0.1.0 serve /app
dashboard_1  | > vue-cli-service serve
dashboard_1  | 
dashboard_1  | sh: vue-cli-service: not found
dashboard_1  | npm ERR! code ELIFECYCLE
dashboard_1  | npm ERR! syscall spawn
dashboard_1  | npm ERR! file sh
dashboard_1  | npm ERR! errno ENOENT
dashboard_1  | npm ERR! dashboard@0.1.0 serve: `vue-cli-service serve`
dashboard_1  | npm ERR! spawn ENOENT
dashboard_1  | npm ERR! 
dashboard_1  | npm ERR! Failed at the dashboard@0.1.0 serve script.
dashboard_1  | npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
dashboard_1  | npm WARN Local package.json exists, but node_modules missing, did you mean to install?
dashboard_1  | 
dashboard_1  | npm ERR! A complete log of this run can be found in:
dashboard_1  | npm ERR!     /root/.npm/_logs/2020-03-30T05_49_06_305Z-debug.log

8001 与 9292 也无法访问

dsh0416 commented 4 years ago

这个等会补一下文档,要做一些处理,不能直接 up 起来