ghost-google-cloud-storage icon indicating copy to clipboard operation
ghost-google-cloud-storage copied to clipboard

Issues with Ghost 1.x

Open nohe427 opened this issue 7 years ago • 3 comments

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 avatar Feb 25 '18 03:02 nohe427

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

nohe427 avatar Feb 25 '18 05:02 nohe427

@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

Uysim avatar Jul 12 '18 05:07 Uysim

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?

HommeSauvage avatar Jan 29 '19 09:01 HommeSauvage