Skip to content

npm does not support Node.js v10.15.2 #1877

Closed

Description

@aguilared

info it worked if it ends with ok
1 warn npm npm does not support Node.js v10.15.2
2 warn npm You should probably upgrade to a newer version of node as we
3 warn npm can't make any promises that npm will work with this version.
4 warn npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.
5 warn npm You can find the latest version at https://nodejs.org/
6 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'install', '-g', 'eslint' ]
7 info using npm@5.8.0
8 info using node@v10.15.2
9 verbose npm-session 64c32217b44a7927

Activity

  1. yathamravali commented on Apr 22, 2019

    @yathamravali

    @aguilared

    It looks like current installed npm is not compatible with Node.js version you are using. You’ll probably need to update your npm using npm install npm@latest -g. And looks like everything fine despite of warnings.

  2. aguilared commented on Apr 22, 2019

    @aguilared
    Author

    Ready, Thanks yathamravali, execute:
    npm install npm@latest -g

    $ npm -v
    6.9.0

  3. Daniel-Griffiths commented on Sep 17, 2019

    @Daniel-Griffiths

    Thanks! yathamravali's suggestion worked for me 😄

  4. ferenczy commented on Oct 3, 2019

    @ferenczy

    I have installed node.js and npm on Debian 10 without explicitly specifying the version:

    apt-get install nodejs
    apt-get install npm
    

    I ended up with the node.js version 10.15.2 and npm 5.8.0. There are no other versions of either of two in Debian 10's repository anyway.

    But I'm getting the "does not support" error now. I can probably somehow manage to hack a different version of one of those things into there I guess, but really Debian maintainers picked incompatible versions into their distribution?

  5. sitiojcb commented on Oct 15, 2019

    @sitiojcb

    Thanks rafaelvalentimzup, that worked for me. I'm on MXLinux 19.

  6. matinwd commented on Oct 19, 2019

    @matinwd

    @Pair5Studios i have the same problem on ubuntu 19.04. Did u find any way ?

  7. p2gg commented on Oct 20, 2019

    @p2gg
  8. x0341 commented on Oct 21, 2019

    @x0341

    I'd suggest to try install it from source by:
    curl https://www.npmjs.com/install.sh | sudo sh

    worked for me.

  9. alisonjo315 commented on Oct 23, 2019

    @alisonjo315

    Me too on ubuntu 19.04 (originally installed both via apt, without any version specifications) -- same "does not support" error. The suggestion from @yathamravali (make npm update itself to the latest version) cleared the error from me. Thanks, all!

  10. ggichure commented on Oct 30, 2019

    @ggichure

    I'd suggest to try install it from source by:
    curl https://www.npmjs.com/install.sh | sudo sh

    shows it worked ,but npm -v still is at 5.8.0 .

  11. HenriqueGPinho commented on Nov 14, 2019

    @HenriqueGPinho

    Ready, Thanks yathamravali, execute:
    npm install npm@latest -g

    $ npm -v
    6.9.0

    Don't forget to close the shell and open it again

  12. zur1eel commented on Nov 15, 2019

    @zur1eel

    @aguilared

    It looks like current installed npm is not compatible with Node.js version you are using. You’ll probably need to update your npm using npm install npm@latest -g. And looks like everything fine despite of warnings.

    Still working. ty

  13. 24 remaining items

  14. Qasem-moh commented on Nov 22, 2021

    @Qasem-moh

    None of the above solutions work for me. This work:

    # Using Ubuntu
    curl -fsSL https://deb.nodesource.com/setup_current.x | sudo -E bash -
    sudo apt-get install -y nodejs
    

    Follow this link.

    thank you

  15. InspireGeo commented on Nov 29, 2021

    @InspireGeo

    None of the above solutions work for me. This work:

    # Using Ubuntu
    curl -fsSL https://deb.nodesource.com/setup_current.x | sudo -E bash -
    sudo apt-get install -y nodejs
    

    Follow this link.

    +1

  16. LwandaMagere commented on Dec 24, 2021

    @LwandaMagere

    It worked for me too thank you inspireGeo

  17. Insistem commented on Dec 24, 2021

    @Insistem
  18. vitorsouzaalmeida commented on Jan 1, 2022

    @vitorsouzaalmeida

    I achieved fix my issue with this doc https://nodejs.org/en/download/package-manager/

  19. elvisef commented on Jan 2, 2022

    @elvisef

    None of the above solutions work for me. This work:

    # Using Ubuntu
    curl -fsSL https://deb.nodesource.com/setup_current.x | sudo -E bash -
    sudo apt-get install -y nodejs
    

    Follow this link.

    The only that worked for my Debian 10.x, without errors (as on the screenshot attached)
    2022-01-02_23-32

    Bravo ! Thanks !

  20. Bitharis commented on Feb 19, 2022

    @Bitharis

    win 10

    if you run docker on windows 10 i found that setting the build kit to false solved my problem

    image

  21. mircobabini commented on Feb 23, 2022

    @mircobabini

    For Mac Users.

    First of all check which node provider you are using $ which node

    NVM

    $ nvm install node --reinstall-packages-from=node
    

    BREW

    $ brew update
    $ brew upgrade node
    
  22. A7Lavinraj commented on Jan 4, 2023

    @A7Lavinraj

    npm install npm@latest -g

    thanks bro you are awesome.

  23. Insistem commented on Jan 4, 2023

    @Insistem
  24. lambertayuk commented on Jan 4, 2023

    @lambertayuk
  25. avinashbt commented on May 9, 2023

    @avinashbt

    npm uninstall -g create-react-app
    yarn global remove create-react-app
    npx create react-app my-app
    yarn create react-app my-app

  26. Insistem commented on May 9, 2023

    @Insistem
  27. aloklearning commented on Jan 6, 2026

    @aloklearning

    BREW

    $ brew update
    $ brew upgrade node
    

    This worked for me as I had the latest node installed, however, it was not being reflected unless I used brew command.

  28. Insistem commented on Jan 6, 2026

    @Insistem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions