satania.moe icon indicating copy to clipboard operation
satania.moe copied to clipboard

Can't install and build (+ most of the dependencies are outdated)

Open ggtylerr opened this issue 2 years ago • 2 comments

Hi, I wanted to fork this and ~~expand the cult of nep-nep~~ make a version for nepu, but sadly I can't get it to build. When installing packages I get this:

hi pls open me thank u
npm ERR! gyp ERR! build error 
npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
npm ERR! gyp ERR! stack     at ChildProcess.onExit (/home/tyler/personal/neppermint.moe/node_modules/node-gyp/lib/build.js:262:23)
npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:527:28)
npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
npm ERR! gyp ERR! System Linux 5.10.0-11-amd64
npm ERR! gyp ERR! command "/usr/bin/node" "/home/tyler/personal/neppermint.moe/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
npm ERR! gyp ERR! cwd /home/tyler/personal/neppermint.moe/node_modules/node-sass
npm ERR! gyp ERR! node -v v17.9.0
npm ERR! gyp ERR! node-gyp -v v3.8.0
npm ERR! gyp ERR! not ok 
npm ERR! Build failed with error code: 1

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2022-06-24T22_11_22_696Z-debug-0.log

I can get it to install by updating to node-sass 7.0.1 and gulp-sass 5.1.0, but (along with the 20 million other vulnerabilities) it has a lot of breaking issues that I simply don't know how to fix (I never used gulp / sass before, shush)

ggtylerr avatar Jun 24 '22 23:06 ggtylerr

Hey!

I would have expected that given that this project is pretty old and is built on a stack of technologies that are pretty outdated and prone to breaking. ~~Gulp seemed like a good idea at the time but actually it's not~~

I would like to give the stack a little makeover someday, as satania.moe is a pretty significant part of my life and you're not the only one who I've seen use it as a base, so I'd like it to continue working. It should be possible to migrate this over to Vite or something.

But that's a far-future goal for when I'll have basically nothing better to do.

So for your project, I'd recommend you don't use satania.moe's code. You could make something brand new with better technologies ~~and no memes in the licence~~.

Best of luck in ministering for Nepu~

Pizzacus avatar Jun 26 '22 10:06 Pizzacus

I actually figured this was much more new since...idk, 2015 feels new still lol

I guess I'll just use a standard next stack, thank u

(also I'd 100% make a new version of gpl or smth but with neps so licensing is far from a problem lol)

ggtylerr avatar Jun 28 '22 00:06 ggtylerr