We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

Could Not Upload to Google Cloud Server

  • #4860
    Avatar photo[anonymous]

    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/
        at Deployment.initSession (/Applications/
        at process.<anonymous> (/Applications/
        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 /blog

    Avatar photo[anonymous]

    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?