我在使用存储适配器时遇到了问题,并将ghost用作npm模块。当我运行ghost时,出现错误消息“ cant find module”,并且在主题目录而不是项目根目录中查找npm模块。
project / node_modules / ghost / core / server / adapters / storage / s3
这与contentPath有关,但是我不确定如何解决此问题。这是我的内容路径:
paths: {
contentPath: path.join(__dirname, "content")
}