LuckPermsWeb icon indicating copy to clipboard operation
LuckPermsWeb copied to clipboard

Installation script fails when (trying to) self-host the panel

Open diamkil opened this issue 5 years ago • 5 comments

It seems there's an error regarding Yorkie in NPM when trying to run the script (does the same error when doing 'npm install yorkie') https://bytebin.lucko.me/cL7ym77OpV

diamkil avatar Aug 01 '20 02:08 diamkil

Why are you using the panel yourself tho

thetayloredman avatar Aug 01 '20 03:08 thetayloredman

Why are you using the panel yourself tho

I like to self-host my stuff under our domain and why not it's there for a reason

diamkil avatar Aug 01 '20 03:08 diamkil

@diamkil hi there. I'm the author of the installer. I was busy this past week, sorry for that.
Sadly the paste link has expired. Can you get me another one?

BrainStone avatar Aug 10 '20 19:08 BrainStone

@diamkil hi there. I'm the author of the installer. I was busy this past week, sorry for that.

Sadly the paste link has expired. Can you get me another one?

Yeah I think the fix is simply to run the npm install command in the script with the -unsafe-perm (I think that's the flag) because it fails when running the script as root, I'll try to get the log for you

diamkil avatar Aug 10 '20 21:08 diamkil

That would be apprechiated.
I've mainly tested it as root so that would be surprising to me...

BrainStone avatar Aug 10 '20 22:08 BrainStone