ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Solved NPM Errors on NodeBB Install on Amazon Linux

    IT Discussion
    nodebb nodebb 1.10.2 nodejs amazon linux linux
    5
    12
    1.5k
    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.
    • scottalanmillerS
      scottalanmiller
      last edited by

      [root@forum nodebb]# node --version
      v10.8.0
      [root@forum nodebb]# npm --version
      6.2.0
      
      1 Reply Last reply Reply Quote 0
      • scottalanmillerS
        scottalanmiller
        last edited by

        Apparently node is a default install from Amazon. Weird.

        yum remove nodejs
        

        That removed the bad node and npm. Still not working, but closer.

        1 Reply Last reply Reply Quote 1
        • Emad RE
          Emad R @scottalanmiller
          last edited by

          @scottalanmiller

          Amazon is the shits, Lately we are getting weird IO hangs in our macro machines that costs 9 dollar month, they are doing bad stuff to their EC2, and I dont like there take on Centos with their AMI shit.

          I cant belive I am telling you this but go use Vultr, even if the client wants amazon.

          scottalanmillerS 1 Reply Last reply Reply Quote 1
          • scottalanmillerS
            scottalanmiller @Emad R
            last edited by

            @Emad-R said in NPM Errors on NodeBB Install on Amazon Linux:

            @scottalanmiller

            Amazon is the shits, Lately we are getting weird IO hangs in our macro machines that costs 9 dollar month, they are doing bad stuff to their EC2, and I dont like there take on Centos with their AMI shit.

            I cant belive I am telling you this but go use Vultr, even if the client wants amazon.

            We never use Amazon by choice, rarely have issues, but normally it is just too pricey. In this case, though, the drive for Amazon is really strong, they are a completely dedicated to Amazon shop.

            1 Reply Last reply Reply Quote 0
            • DustinB3403D
              DustinB3403
              last edited by

              Have you tried as root?

              scottalanmillerS 1 Reply Last reply Reply Quote 0
              • scottalanmillerS
                scottalanmiller @DustinB3403
                last edited by

                @DustinB3403 said in NPM Errors on NodeBB Install on Amazon Linux:

                Have you tried as root?

                Everything was done as root. Amazon is all root by default.

                dbeatoD 1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller
                  last edited by

                  @scottalanmiller said in NPM Errors on NodeBB Install on Amazon Linux:

                  pm ERR! Error: EACCES: permission denied, mkdir

                  Okay, this error managed to get fixed by removing the crap Node version that Amazon put on there. I'll open another thread with the latest issue. This is crazy.

                  1 Reply Last reply Reply Quote 0
                  • black3dynamiteB
                    black3dynamite
                    last edited by

                    Does Amazon keep SELinux enabled?

                    scottalanmillerS 1 Reply Last reply Reply Quote 0
                    • scottalanmillerS
                      scottalanmiller @black3dynamite
                      last edited by

                      @black3dynamite said in NPM Errors on NodeBB Install on Amazon Linux:

                      Does Amazon keep SELinux enabled?

                      No, it is off by default.

                      1 Reply Last reply Reply Quote 0
                      • dbeatoD
                        dbeato @scottalanmiller
                        last edited by

                        @scottalanmiller said in NPM Errors on NodeBB Install on Amazon Linux:

                        @DustinB3403 said in NPM Errors on NodeBB Install on Amazon Linux:

                        Have you tried as root?

                        Everything was done as root. Amazon is all root by default.

                        yeah, the default user for centos is centos with your KMS or privatekey they create. For Ubuntu is Ubuntu.

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post