Git Product home page Git Product logo

Comments (6)

jywarren avatar jywarren commented on July 17, 2024

When comparing the same or similar code (i believe, this was hours earlier than the above error, and merged), we saw no such error. But i think that's because default node version on GitHub Actions was higher than v13?

https://github.com/publiclab/mapknitter/runs/6374206383?check_suite_focus=true

The yarn error above was: error [email protected]: The engine "node" is incompatible with this module. Expected version ">= 13.0.0". Got "12.22.7"

Do we need to do more to sync node versions?

from mapknitter.

jywarren avatar jywarren commented on July 17, 2024

Yes, GitHub Actions uses at least node v16! https://github.blog/changelog/2021-12-10-github-actions-github-hosted-runners-now-run-node-js-16-by-default/

and indeed we just switched to v16 to fix this issue, as it's a LTS version. Should we fix this?

from mapknitter.

jywarren avatar jywarren commented on July 17, 2024

Note that Jenkins doesn't run the tests. And Google Cloud is yet another environment, although it will probably use the same files in dockerfiles/development and dockerfiles/production that we changed to upgrade to node v16: #1694

from mapknitter.

jywarren avatar jywarren commented on July 17, 2024

there is dockerfile support for GH Actions, makes sense... we could converge a bit... but is it worth it? https://docs.github.com/en/actions/creating-actions/dockerfile-support-for-github-actions

from mapknitter.

jywarren avatar jywarren commented on July 17, 2024

Noting that we had a similar error of node v12 on production when we tried to publish the #1712 changes, somehow it's not v16 on production again...?

error [email protected]: The engine "node" is incompatible with this module. Expected version ">= 13.0.0". Got "12.22.5"

from mapknitter.

jywarren avatar jywarren commented on July 17, 2024

Will try setting this here:

"node": ">=10.0.0"

from mapknitter.

Related Issues (20)

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.