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 Warning when installing Cloudron CLI

    Support
    cli
    3
    7
    318
    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.
    • jdaviescoates
      jdaviescoates last edited by

      I just installed Cloudron CLI, this is what happened:

      josef@josef-ThinkPad-T510:~$ sudo npm install -g cloudron
      npm WARN deprecated opn@6.0.0: The package has been renamed to `open`
      npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
      /usr/local/bin/cloudron -> /usr/local/lib/node_modules/cloudron/bin/cloudron
      
      > spawn-sync@1.0.15 postinstall /usr/local/lib/node_modules/cloudron/node_modules/spawn-sync
      > node postinstall
      
      Looks like some updates needed to replaced deprecated stuff.
      

      I use Cloudron with Gandi & Hetzner

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

        I have fixed the opn issue but rewriting to reuse the request issue is a much larger task. Bit unfortunate they deprecated such a popular module.

        micmc 1 Reply Last reply Reply Quote 1
        • micmc
          micmc @girish last edited by

          @girish And today, one year later I get this when I install the CLI, however it seems to work well.

          alt text


          https://marketingtechnology.agency
          For cutting edge web technologies

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

            @micmc I think the second deprecation is about upgrading node. You should update node on your PC to >= node 12

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

              FWIW, we use node v14.15.4 everywhere now

              micmc 2 Replies Last reply Reply Quote 0
              • micmc
                micmc @girish last edited by

                @girish said in Warning when installing Cloudron CLI:

                FWIW, we use node v14.15.4 everywhere now

                This is exactly why I posted my node version with this shot, so you can see. Now, fyi this is the node version being installed with npm

                sudo apt install npm
                

                Anyway, will just update my node then 🙂 Thanks

                Andy


                https://marketingtechnology.agency
                For cutting edge web technologies

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

                  @girish
                  Checking through nvm latest LTS is 14.17.0 now
                  alt text
                  Should I go ahead with the latest or you'd suggest that I use 14.15.4 as you guys?


                  https://marketingtechnology.agency
                  For cutting edge web technologies

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