Could Not Upload to Google Cloud Server
- This topic has 1 reply, 1 voice, and was last updated 7 months, 1 week ago by .
- December 26, 2020 at 5:49 am #4860puryfit.id
Hi I’m still new with Publii and i’d like to integrate one to my website.
So for some context, my website is running on Google App Engine using Next JS + Express JS.
Somehow i’ve already tried to follow this instruction, yet still got no luck to integrate it with Publii
in the deploment-errors.log it shows some error
(node:12255) UnhandledPromiseRejectionWarning: TypeError: GoogleCloudStorage is not a function at GoogleCloud.initConnection (/Applications/Publii.app/Contents/Resources/app.asar/back-end/modules/deploy/google-cloud.js:35:19) at Deployment.initSession (/Applications/Publii.app/Contents/Resources/app.asar/back-end/modules/deploy/deployment.js:92:27) at process.<anonymous> (/Applications/Publii.app/Contents/Resources/app.asar/back-end/workers/deploy/deployment.js:10:28) at process.emit (events.js:210:5) at process.EventEmitter.emit (domain.js:476:20) at emit (internal/child_process.js:876:12) at processTicksAndRejections (internal/process/task_queues.js:81:21) (node:12255) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2) (node:12255) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
I’d like to confirm several thing. Does the Bucket Name must be the name of the domain?
I want to integrate Publii into one of the URL path which is /blogDecember 26, 2020 at 5:55 am #4861puryfit.id
Okay it seems downgrading the version to 0.37.2 fixed and able to upload to Google Cloud
Anyone can give me a clue how to integrate express JS Routing with this Publii file that’s stored inside Google Cloud Storage?
- You must be logged in to reply to this topic.