HGL
ratty-blush

Not been able to compile on latest git

Hi! I have been trying to compile on the latest git but I am facing an issue. I am on CachyOS, pnpm installed locally. Here are the logs.
11 Replies
ratty-blush
ratty-blushOP2w ago
As you can see, I tried to approve the building of the "@parcel/watcher", with the pnpm approve-builds command, but it was also in vain I had the exactly error as I had before
ratty-blush
ratty-blush2w ago
you don't need to build heroic to use it if you are already using its source, you can run pnpm start and it should work, are you trying to build it for a particular reason?
ratty-blush
ratty-blushOP2w ago
yes! i am packaging it to build from git that's why i am trying to compile it
ratty-blush
ratty-blush2w ago
what I mean is, why are you trying to use a built binary when you can run pnpm start and use it without having to build it? is there a reason for that?
ratty-blush
ratty-blushOP2w ago
I as said, I am packaging it to build from git. I have this PKGBUILD that compiles heroic from every new commit. The reason for that is that the project takes sometimes months betweeen releases and I like to test new features and fixes (for example, the user agent fix that allowed to claim games from Epic). I have tried to compile through my PKGBUILD and by manually cloning the repository, but I got the same error
ratty-blush
ratty-blush2w ago
sorry, that's not what I'm asking, if you want to test heroic you can run it without making a build, you can run pnpm start and it will run, you don't need a build for that my question is, why do you need to build it instead of just running it? I'm not saying you shouldn't do it, I just wanted to clarify that you can run heroic without building it in case you didn't know that and you can avoid that extra step and still use it from the sourcecode so my question is if there's any reason for you to need a build instead of just running with pnpm start, maybe there is and pnpm start is not enough for you, just wanted to know
exotic-emerald
exotic-emerald2w ago
Are you trying to package it for redistribution, or just for yourself?
ratty-blush
ratty-blushOP2w ago
Using pnpm startis not enough because I am not debugging it. I want to build it so I can integrate it within my system. Pretty much like the pacman package that you guys distribute If you can see on my PKGBUILD, I add a desktop file, etc And you provide build instructions in your repo that I am trying to reproduce but I am not being able to, because of the error That being said, can any of you help me with the errors? The scr directory is not created, just an out. I don't know if it is part of the problem It is mainly for myself, but I put on AUR for convenience. I use parufor updating the system packages and the AUR ones
ratty-blush
ratty-blush2w ago
maybe ask in #⚔-development then, I think it's a better fit for this question and more devs will see it
ratty-blush
ratty-blushOP2w ago
Okay, I was able to compile now. it seems that heroic now has a dependency on npm Installing npm did the trick
flat-fuchsia
flat-fuchsia2w ago
I think you were missing nodejs if npm was not installed. Good that it worked 👍

Did you find this page helpful?