Ghost CMS s3存储适配器npm模块ContentPath

时间:2019-03-15 14:08:51

标签: npm ghost-blog

我在使用存储适配器时遇到了问题,并将ghost用作npm模块。当我运行ghost时,出现错误消息“ cant find module”,并且在主题目录而不是项目根目录中查找npm模块。

project / node_modules / ghost / core / server / adapters / storage / s3

这与contentPath有关,但是我不确定如何解决此问题。这是我的内容路径:

  paths: {
      contentPath: path.join(__dirname, "content")
    }

0 个答案:

没有答案