Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • 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
Collapse
We Distribute
  1. Home
  2. Technical Support
  3. Upgrade failed - site offline :-(

Upgrade failed - site offline :-(

Scheduled Pinned Locked Moved Technical Support
5 Posts 2 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • 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 last edited by
    #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!
    

    Looks like it relates to nodebb-plugin-sso-oauth2-multiple

    Any ideas?

    Thanks

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

      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!
      

      Looks like it relates to nodebb-plugin-sso-oauth2-multiple

      Any ideas?

      Thanks

      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 last edited by
      #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 last edited by
        #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 last edited by
          #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 last edited by
            #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
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            Powered by NodeBB Contributors
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups