• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
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
v3.5.2 Latest
Buy Hosting

NodeBB upgrade - TypeError: AsyncLocalStorage is not a constructor

Scheduled Pinned Locked Moved Unsolved Technical Support
4 Posts 2 Posters 1.1k 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.
  • R Offline
    R Offline
    renukadevi
    wrote on last edited by
    #1

    Re: What are all the options for `./nodebb upgrade`?

    Hi,

    I am trying to upgrade Nodebb from v1.16.1 to v1.18.6. I execute the following commands :

    git fetch
    git checkout v1.18.x
    git merge origin/v1.18.x
    nodebb upgrade

    But upgrade fails with the error TypeError: AsyncLocalStorage is not a constructor.

    What am I missing here ? This is an urgent issue to be fixed in my project. Can you please help ?

    1 Reply Last reply
    0
  • barisB Offline
    barisB Offline
    <baris> NodeBB
    wrote on last edited by
    #2

    What is your nodejs version? node -v ?

    R 1 Reply Last reply
    0
  • R Offline
    R Offline
    renukadevi
    replied to <baris> on last edited by
    #3

    @baris We are using v12.16.2

    1 Reply Last reply
    0
  • barisB Offline
    barisB Offline
    <baris> NodeBB
    wrote on last edited by
    #4

    @renukadevi said in NodeBB upgrade - TypeError: AsyncLocalStorage is not a constructor:

    AsyncLocalStorage

    Upgrade to latest 12.x or 14.x that should fix your issue I think.

    Async hooks | Node.js v12.22.12 Documentation

    favicon

    (nodejs.org)

    1 Reply Last reply
    0

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development