Skip to content

NodeBB Twitter / X embeds

Let's Build It
34 6 9.2k 1

Related Topics
  • What’s going on with NodeBB?

    Performance nodebb script die
    20
    8 Votes
    20 Posts
    2k Views
    @cagatay The most reliable way to upgrade Node.js on Ubuntu depends on how you originally installed it. Method 1: Using NVM (Recommended) If you already use Node Version Manager (NVM), upgrading is simple. NVM allows you to keep both versions and switch between them if needed. Install Node 22: nvm install 22 Switch to Node 22: nvm use 22 Set it as your default: nvm alias default 22 Verify the change: node -v Method 2: Using NodeSource (PPA) If you installed Node.js via apt using the NodeSource repository, you need to update the repository script to point to the new version. Remove the old NodeSource list (optional but cleaner): sudo rm /etc/apt/sources.list.d/nodesource.list Download and run the NodeSource setup script for Node 22: curl -fsSL [https://deb.nodesource.com/setup_22.x](https://deb.nodesource.com/setup_22.x) | sudo -E bash - Install/Upgrade Node.js: sudo apt-get install -y nodejs Verify the installation: node -v Method 3: Using the ‘n’ Package If you have npm installed, you can use the n interactive manager. Clear the npm cache: sudo npm cache clean -f Install the ‘n’ helper: sudo npm install -g n Install Node 22: sudo n 22 Update your shell: hash -r Troubleshooting Permission Denied: If you see permission errors using Method 2 or 3, ensure you are using sudo. Path Issues: If node -v still shows version 20 after upgrading via NVM, restart your terminal or run source ~/.bashrc. Conflicts: Avoid mixing these methods. If you switch from apt to nvm, it is best to sudo apt remove nodejs first to avoid path conflicts.
  • 15 Votes
    51 Posts
    15k Views
    Oh yes, that’s what’s super cool, I learn something every day. Afterwards I start from so low in JS
  • Threaded post support for NodeBB

    Let's Build It threading nodebb
    146
    3
    50 Votes
    146 Posts
    70k Views
    Updated git for above change https://github.com/phenomlab/nodebb-harmony-threading/commit/14a4e277521d83d219065ffb14154fd5f5cfac69
  • So long Twitter... Nice knowing you

    Discussion twitter
    5
    1
    5 Votes
    5 Posts
    1k Views
    @crazycells I’m totally unsurprised by any of this. Musk is well known for creating schemes meaning that he profits out of pretty much anything these days. Whilst I admire the business acumen, I certainly don’t agree with the ethics.
  • 11 Votes
    14 Posts
    4k Views
    @dave1904 excellent news. Thanks for the feedback
  • Twitter announces edit "feature"

    Moved Discussion twitter features
    1
    0 Votes
    1 Posts
    452 Views
    No one has replied
  • [Wiki.js] Auto Upgrade Script

    General shell script wiki.js
    1
    1 Votes
    1 Posts
    737 Views
    No one has replied
  • New Twitter handle

    Announcements twitter
    4
    5 Votes
    4 Posts
    1k Views
    Off course