问答详情
源自:6-3 compose实战

我ghost里面的Dockerfile文件根据同学的的修改了 但是启动还是报错 大神帮忙看看

ghost-app_1  | npm ERR! path /var/lib/ghost/package.json

ghost-app_1  | npm ERR! code ENOENT

ghost-app_1  | npm ERR! errno -2

ghost-app_1  | npm ERR! syscall open

ghost-app_1  | npm ERR! enoent ENOENT: no such file or directory, open '/var/lib/ghost/package.json'

ghost-app_1  | npm ERR! enoent This is related to npm not being able to find a file.

ghost-app_1  | npm ERR! enoent 

ghost-app_1  | 

ghost-app_1  | npm ERR! A complete log of this run can be found in:

ghost-app_1  | npm ERR!     /root/.npm/_logs/2018-11-28T02_10_27_818Z-debug.log

ghost_ghost-app_1 exited with code 254


提问者:慕斯4644820 2018-11-28 10:12

个回答

  • yuzhewo
    2020-12-01 16:58:54

    看这个问题解答 https://www.imooc.com/qadetail/304550

  • 慕斯4644820
    2018-11-28 10:17:45

    重新bulid就可以了 但是我启动了 还是访问不了 我的是linux系统 浏览器直接房源