thombuchi / ghost-google-cloud-storage

A simple plugin to add Google Cloud Storage support for Ghost Blog
MIT License
42 stars 38 forks source link

Issues with Ghost 1.x #15

Open nohe427 opened 6 years ago

nohe427 commented 6 years ago

I am trying to use this with Ghost 1.x on Google App Engine, but for some reason, when I launch the app with the added storage tag, the entire app crashes. Not really sure why.

nohe427 commented 6 years ago

Error: Cannot find module '/app/node_modules/ghost/core/server/adapters/storage/gcloud is what I am getting as the error message

Uysim commented 6 years ago

@nohe427 did you do this?

mkdir -p ${CONTENT_PATH}/adapters/storage/gcloud
cat > ${CONTENT_PATH}/adapters/storage/gcloud/index.js << EOL
'use strict';
module.exports = require('ghost-google-cloud-storage');
EOL
HommeSauvage commented 5 years ago

I'm using an unconventional way of setting up Ghost. It's being launched as a module and it's in a directory within a yarn workspace, so the node_modules are not in the same directory as Ghost itself.

Could this be the culprit to the error OP stated above?