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

NodeBB

  1. Home
  2. Technical Support
  3. Upgrade failed - site offline :-(

Upgrade failed - site offline :-(

Scheduled Pinned Locked Moved Technical Support
5 Posts 2 Posters 1 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
    [email protected]
    wrote last edited by [email protected]
    #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: [email protected]
    npm ERR! Found: [email protected]
    npm ERR! node_modules/eslint
    npm ERR!   peer eslint@"^6.0.0 || ^7.0.0 || >=8.0.0" from @eslint-community/[email protected]
    npm ERR!   node_modules/@eslint-community/eslint-utils
    npm ERR!     @eslint-community/eslint-utils@"^4.2.0" from [email protected]
    npm ERR!     @eslint-community/eslint-utils@"^4.2.0" from [email protected]
    npm ERR!     node_modules/nodebb-plugin-sso-oauth2-multiple/node_modules/eslint
    npm ERR!       eslint@"9.x" from [email protected]
    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 [email protected]
    npm ERR!   node_modules/eslint-config-airbnb-base
    npm ERR!     eslint-config-airbnb-base@"15.0.0" from [email protected]
    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: [email protected]
    npm ERR! node_modules/eslint
    npm ERR!   peer eslint@">=9.0.0" from @stylistic/[email protected]
    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

    1 Reply Last reply
    0
    • julian@community.nodebb.orgJ This user is from outside of this forum
      julian@community.nodebb.orgJ This user is from outside of this forum
      [email protected]
      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
        [email protected]
        wrote last edited by [email protected]
        #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: [email protected]
        npm ERR! Found: [email protected]
        npm ERR! node_modules/eslint
        npm ERR!   peer eslint@"^6.0.0 || ^7.0.0 || >=8.0.0" from @eslint-community/[email protected]
        npm ERR!   node_modules/@eslint-community/eslint-utils
        npm ERR!     @eslint-community/eslint-utils@"^4.2.0" from [email protected]
        npm ERR!     @eslint-community/eslint-utils@"^4.2.0" from [email protected]
        npm ERR!     node_modules/nodebb-plugin-sso-oauth2-multiple/node_modules/eslint
        npm ERR!       eslint@"9.x" from [email protected]
        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 [email protected]
        npm ERR!   node_modules/eslint-config-airbnb-base
        npm ERR!     eslint-config-airbnb-base@"15.0.0" from [email protected]
        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: [email protected]
        npm ERR! node_modules/eslint
        npm ERR!   peer eslint@">=9.0.0" from @stylistic/[email protected]
        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
          [email protected]
          wrote last edited by
          #4

          RESOLVED: used npm update and then ./nodebb build

          1 Reply Last reply
          0
          • julian@community.nodebb.orgJ This user is from outside of this forum
            julian@community.nodebb.orgJ This user is from outside of this forum
            [email protected]
            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
            1
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

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