Code Monkey home page Code Monkey logo

Comments (4)

iiroj avatar iiroj commented on June 14, 2024 1

Oh, I see you're running Node.js 14. You need to upgrade to at least 18.12.0 which is the minimim supported version.

from lint-staged.

iiroj avatar iiroj commented on June 14, 2024

Are you using nvm or similar to run multiple Node.js versions? The async keyword was introduced in Node.js 7.6.0.

from lint-staged.

amineRemmache avatar amineRemmache commented on June 14, 2024

@iiroj thanks for the quick response, i'll give it a try and keep you updated !

from lint-staged.

amineRemmache avatar amineRemmache commented on June 14, 2024

@iiroj i installed the 18.19.0 version of node and made it default with this two commands

nvm install 18
nvm alias default 18

and then i retested a simple commit but the issue persisted
but since i'm using the version 14 of lint-staged isn't compatible with 16th version of node ?

v14
Since v14.0.0 lint-staged no longer supports Node.js 14. Please upgrade your Node.js version to at least 16.14.0.

from lint-staged.

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.