Skip to content
  • Hjem
  • Seneste
  • Etiketter
  • Populære
  • Verden
  • Bruger
  • Grupper
Temaer
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Kollaps
FARVEL BIG TECH
  1. Forside
  2. Ikke-kategoriseret
  3. Upgrade failed

Upgrade failed

Planlagt Fastgjort Låst Flyttet Ikke-kategoriseret
5 Indlæg 2 Posters 0 Visninger
  • Ældste til nyeste
  • Nyeste til ældste
  • Most Votes
Svar
  • Svar som emne
Login for at svare
Denne tråd er blevet slettet. Kun brugere med emne behandlings privilegier kan se den.
  • phenomlab@community.nodebb.orgP This user is from outside of this forum
    phenomlab@community.nodebb.orgP This user is from outside of this forum
    phenomlab@community.nodebb.org
    wrote sidst redigeret af
    #1

    Hi. Trying to upgrade NodeBB to latest version, and get

    npm ERR! code ERESOLVE
    npm ERR! ERESOLVE could not resolve
    npm ERR!
    npm ERR! While resolving: nodebb@4.4.1
    npm ERR! Found: eslint@8.57.1
    npm ERR! node_modules/eslint
    npm ERR!   peer eslint@"^6.0.0 || ^7.0.0 || >=8.0.0" from @eslint-community/eslint-utils@4.4.0
    npm ERR!   node_modules/@eslint-community/eslint-utils
    npm ERR!     @eslint-community/eslint-utils@"^4.2.0" from eslint@8.57.1
    npm ERR!     @eslint-community/eslint-utils@"^4.2.0" from eslint@9.3.0
    npm ERR!     node_modules/nodebb-plugin-sso-oauth2-multiple/node_modules/eslint
    npm ERR!       eslint@"9.x" from nodebb-plugin-sso-oauth2-multiple@1.4.2
    npm ERR!       node_modules/nodebb-plugin-sso-oauth2-multiple
    npm ERR!         nodebb-plugin-sso-oauth2-multiple@"^1.4.2" from the root project
    npm ERR!   peer eslint@"^7.32.0 || ^8.2.0" from eslint-config-airbnb-base@15.0.0
    npm ERR!   node_modules/eslint-config-airbnb-base
    npm ERR!     eslint-config-airbnb-base@"15.0.0" from eslint-config-nodebb@0.2.1
    npm ERR!     node_modules/eslint-config-nodebb
    npm ERR!       dev eslint-config-nodebb@"1.1.4" from the root project
    npm ERR!       1 more (nodebb-plugin-gravatar)
    npm ERR!   4 more (eslint-config-nodebb, eslint-plugin-import, ...)
    npm ERR!
    npm ERR! Could not resolve dependency:
    npm ERR! dev @stylistic/eslint-plugin-js@"4.2.0" from the root project
    npm ERR!
    npm ERR! Conflicting peer dependency: eslint@9.27.0
    npm ERR! node_modules/eslint
    npm ERR!   peer eslint@">=9.0.0" from @stylistic/eslint-plugin-js@4.2.0
    npm ERR!   node_modules/@stylistic/eslint-plugin-js
    npm ERR!     dev @stylistic/eslint-plugin-js@"4.2.0" from the root project
    npm ERR!
    npm ERR! Fix the upstream dependency conflict, or retry
    npm ERR! this command with --force or --legacy-peer-deps
    npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
    npm ERR!
    

    Any ideas?

    Thanks

    1 Reply Last reply
    1
    0
    • support@community.nodebb.orgS support@community.nodebb.org shared this topic
    • julian@community.nodebb.orgJ This user is from outside of this forum
      julian@community.nodebb.orgJ This user is from outside of this forum
      julian@community.nodebb.org
      wrote sidst redigeret af
      #2

      phenomlab can you delete your package-lock.json and try again?

      1 Reply Last reply
      0
      • phenomlab@community.nodebb.orgP This user is from outside of this forum
        phenomlab@community.nodebb.orgP This user is from outside of this forum
        phenomlab@community.nodebb.org
        wrote sidst redigeret af
        #3

        julian Done, but still fails - this time with a slightly different message

        npm ERR! code ERESOLVE
        npm ERR! ERESOLVE could not resolve
        npm ERR!
        npm ERR! While resolving: nodebb@4.4.1
        npm ERR! Found: eslint@8.57.1
        npm ERR! node_modules/eslint
        npm ERR!   peer eslint@"^6.0.0 || ^7.0.0 || >=8.0.0" from @eslint-community/eslint-utils@4.4.0
        npm ERR!   node_modules/@eslint-community/eslint-utils
        npm ERR!     @eslint-community/eslint-utils@"^4.2.0" from eslint@8.57.1
        npm ERR!     @eslint-community/eslint-utils@"^4.2.0" from eslint@9.3.0
        npm ERR!     node_modules/nodebb-plugin-sso-oauth2-multiple/node_modules/eslint
        npm ERR!       eslint@"9.x" from nodebb-plugin-sso-oauth2-multiple@1.4.2
        npm ERR!       node_modules/nodebb-plugin-sso-oauth2-multiple
        npm ERR!         nodebb-plugin-sso-oauth2-multiple@"^1.4.2" from the root project
        npm ERR!   peer eslint@"^7.32.0 || ^8.2.0" from eslint-config-airbnb-base@15.0.0
        npm ERR!   node_modules/eslint-config-airbnb-base
        npm ERR!     eslint-config-airbnb-base@"15.0.0" from eslint-config-nodebb@0.2.1
        npm ERR!     node_modules/eslint-config-nodebb
        npm ERR!       dev eslint-config-nodebb@"1.1.4" from the root project
        npm ERR!       1 more (nodebb-plugin-gravatar)
        npm ERR!   4 more (eslint-config-nodebb, eslint-plugin-import, ...)
        npm ERR!
        npm ERR! Could not resolve dependency:
        npm ERR! dev @stylistic/eslint-plugin-js@"4.2.0" from the root project
        npm ERR!
        npm ERR! Conflicting peer dependency: eslint@9.27.0
        npm ERR! node_modules/eslint
        npm ERR!   peer eslint@">=9.0.0" from @stylistic/eslint-plugin-js@4.2.0
        npm ERR!   node_modules/@stylistic/eslint-plugin-js
        npm ERR!     dev @stylistic/eslint-plugin-js@"4.2.0" from the root project
        npm ERR!
        npm ERR! Fix the upstream dependency conflict, or retry
        npm ERR! this command with --force or --legacy-peer-deps
        npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
        npm ERR!
        
        1 Reply Last reply
        0
        • phenomlab@community.nodebb.orgP This user is from outside of this forum
          phenomlab@community.nodebb.orgP This user is from outside of this forum
          phenomlab@community.nodebb.org
          wrote sidst redigeret af
          #4

          RESOLVED: used npm update and then ./nodebb build

          julian@community.nodebb.orgJ 1 Reply Last reply
          0
          • phenomlab@community.nodebb.orgP phenomlab@community.nodebb.org

            RESOLVED: used npm update and then ./nodebb build

            julian@community.nodebb.orgJ This user is from outside of this forum
            julian@community.nodebb.orgJ This user is from outside of this forum
            julian@community.nodebb.org
            wrote sidst redigeret af
            #5

            phenomlab ah good to hear, thanks, and sorry about that!

            We’re not quite sure what happened with the eslint update that caused existing installs to complain so loudly.

            1 Reply Last reply
            1
            Svar
            • Svar som emne
            Login for at svare
            • Ældste til nyeste
            • Nyeste til ældste
            • Most Votes


            • Log ind

            • Har du ikke en konto? Tilmeld

            • Login or register to search.
            Powered by NodeBB Contributors
            Graciously hosted by data.coop
            • First post
              Last post
            0
            • Hjem
            • Seneste
            • Etiketter
            • Populære
            • Verden
            • Bruger
            • Grupper