Replies: 3 comments 14 replies
|
Hey, you almost got it, the issue with running it locally is that some of the Dev packages will be required, I don't fully understand why next 16 behaves this way, it was never a problem in next 14. If you remove that --production flag it'll build properly, however you'll end up with all the node modules junk. Have a look at my workaround in the build phase to get that linux pre-build package in the release, it should be everything you need https://github.com/fccview/jotty/blob/main/.github/workflows/prebuild-release.yml |
|
So, I have setup Jotty on my Work laptop which runs Linux/aarch64. Since not all dependencies are available on aarch64, I expected the However, I have hopes that it might work on FreeBSD with a newer version of yarn, as well. FreeBSD is currently still at 1.2... |
|
I have now created a Port for the FreeBSD ports collection: But it's not yet submitted. Could you have a look if it looks good to you? In particular, I'd had to do two things to make the builds reproducible (or at least the filenames stable): Maybe those changes would be interesting to you? Also, I am not sure whether all of the 3000+ files really need to be shipped? Thank you for your time! edit: posted this message in the wrong place before |
Uh oh!
There was an error while loading. Please reload this page.
Hey,
I am running FreeBSD on my server which does not support Docker (or at least it doesn't support running Linux Docker images atm).
I successfully managed to use the Linux prebuilt package, but I'd like to add a native Port to the FreeBSD-Ports collection. This requires running the respective build steps on package build. Since I didn't find any manual install instructions, I did some guessing and came up with
yarn install --frozen-lockfile --productionandyarn build.The first command runs fine:
But the build command fails:
I am new to the whole node ecosystem, so maybe I am on the wrong track altogether.
If you don't have time for this, feel free to ignore, but I thought it would be nice to have a native FreeBSD package for this :)
All reactions