Git Product home page Git Product logo

Comments (11)

tomizechsterson avatar tomizechsterson commented on May 27, 2024 1

Just opened a PR on hexo-fs that gets past this error: hexojs/hexo-fs#100 . Unfortunately, it failed for me on the Heroku side after this, but at least there's a potential to get past this particular error

from hexo-deployer-heroku.

stevenjoezhang avatar stevenjoezhang commented on May 27, 2024 1

And Heroku is no longer free: https://medium.com/dictcp/top-6-heroku-alternative-drop-in-replacement-in-2022-ff456fe050e4
Maybe we should deprecate this plugin. There are many new options to host a static website.

from hexo-deployer-heroku.

tomizechsterson avatar tomizechsterson commented on May 27, 2024

I'm getting the same results when trying hexo deploy with Heroku. The assumption is to use the "Heroku git URL" from the Settings section in Heroku, but it's not clear if this is correct

from hexo-deployer-heroku.

awongCM avatar awongCM commented on May 27, 2024

Hi,

Has there been any progress in getting the deploy plugin fixed so the hexo deploy still works correctly as before? It used to work for me back in May 2022 when I last published my personal blog.... But now I tried doing this tonight, it not longer works as before. I encountered

ERROR: Application not supported by 'heroku/nodejs' buildpack

instead of ERR_INVALID_ARG_TYPE.

I worked around ERR_INVALID_ARG_TYPE by pinning down the node and npm versions in package.json, but ended up with a buildpack error instead.

Not sure why this plugin failed all of a sudden..

But out of desperation, I decided to follow the official Heroku docs to add 'Heroku git URL', and it works fine for me straight after.

from hexo-deployer-heroku.

awongCM avatar awongCM commented on May 27, 2024

Hi,

Has there been any progress in getting the deploy plugin fixed so the hexo deploy still works correctly as before? It used to work for me back in May 2022 when I last published my personal blog.... But now I tried doing this tonight, it not longer works as before. I encountered

ERROR: Application not supported by 'heroku/nodejs' buildpack

instead of ERR_INVALID_ARG_TYPE.

I worked around ERR_INVALID_ARG_TYPE by pinning down the node and npm versions in package.json, but ended up with a buildpack error instead.

Not sure why this plugin failed all of a sudden..

But out of desperation, I decided to follow the official Heroku docs to add 'Heroku git URL', and it works fine for me straight after.

Another possible reason I suspect is that the due to the recent changes by Heroku towards end of 2022, they have changed the structure of the buildpacks requirements such that it needs to detect the package.json to be available at the root of the .deploy_heroku (not the project hexo root folder) before you can deploy anything successfully..

from hexo-deployer-heroku.

stevenjoezhang avatar stevenjoezhang commented on May 27, 2024

We may need to release a new version of the plugin, to update the version of hexo-fs dependency. CC @hexojs/core

from hexo-deployer-heroku.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.