Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Can I update node.js in an app?

    NodeBB
    nodebb
    2
    8
    428
    Loading More Posts
    • 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.
    • K
      Klaus last edited by girish

      I've installed node.bb using Cloudron. A plugin isn't working, and the plugin developer says that I need to udpate node.js.

      When I do a node -v in the console I get version 8.12, which is rather old indeed.

      Is there some way to upgrade the version of node.js inside that container?

      1 Reply Last reply Reply Quote 0
      • girish
        girish Staff last edited by

        @Klaus Cloudron apps are deployed as read-only, so the code inside them cannot be changed. This is done for security and update purposes.

        But I can update the version to the latest LTS 12.16.1. Would that work?

        1 Reply Last reply Reply Quote 0
        • girish
          girish Staff last edited by

          Note that NodeBB itself only has a requirement of node 8, so it's the plugin developer who has to fix the code 🙂

          1 Reply Last reply Reply Quote 0
          • girish
            girish Staff last edited by

            I have updated node to 10.19.0

            K 1 Reply Last reply Reply Quote 2
            • K
              Klaus last edited by

              Great! Finally the emoji plugin works again! Thanks a lot.

              1 Reply Last reply Reply Quote 0
              • K
                Klaus @girish last edited by

                @girish The latest NodeBB version 1.16 is no longer compatible with NodeJS version 10. Would it be possible to update the NodeJS version in Cloudron again?

                girish 1 Reply Last reply Reply Quote 0
                • girish
                  girish Staff @Klaus last edited by

                  @klaus The latest NodeBB package has node 12.13.0

                  K 1 Reply Last reply Reply Quote 0
                  • K
                    Klaus @girish last edited by

                    @girish Thanks!

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post
                    Powered by NodeBB