Solved NPM Errors on NodeBB Install on Amazon Linux
-
[root@forum nodebb]# node --version v10.8.0 [root@forum nodebb]# npm --version 6.2.0
-
Apparently node is a default install from Amazon. Weird.
yum remove nodejs
That removed the bad node and npm. Still not working, but closer.
-
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.
-
@Emad-R said in NPM Errors on NodeBB Install on Amazon Linux:
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.
-
Have you tried as root?
-
@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.
-
@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.
-
Does Amazon keep SELinux enabled?
-
@black3dynamite said in NPM Errors on NodeBB Install on Amazon Linux:
Does Amazon keep SELinux enabled?
No, it is off by default.
-
@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.