-
-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FreeBSD install instructions out of date #277
Comments
The changes to package.json should not be necessary. What error message did you get? |
Rollup doesn't have a FreeBSD build and their error recommends the WASM build.
|
You might need to use pnpm overwrites to resolve rollup to @rollup/wasm-node. See this issue. |
@dpschen Is that something you'd need to configure every time when building on FreeBSD? Or something we could add into Vikunja's package.json in general? |
@psa sry I just realised that I totally over-read that you already wrote the pnpm overwrites solution… Can you specify further what you mean by "Remove sentry/cli from pnpm-lock.yaml (we've installed it above)"? Remove it from vite-plugin-sentry as a dependency? I got this, but I am not sure if it works for all os: "resolutions": {
"rollup": {
"freebsd": "npm:@rollup/wasm-node"
}
}, Regarding @sentry/cli: it doesn't seem to be possible not to install a dependency only on a specific os, without affecting others. |
@dpschen Yes, I stripped Unfortunately, node really isn't my specialty and I'm not sure how one would go about putting in exceptions like that. |
This causes the following error:
|
Thanks for trying! Unsure, but maybe this pr makes sentry-cli. I replaced the sentry vite plugin with the (now existing) official plugin. The PR is still wip, so will probably not work right now. At least until then building on freebsd will be a manual step, as you described. |
Here's the diff on the changes, if that's easier to visualise: 0972c1b |
Description
Couldn't find the repo containing https://vikunja.io/docs/installing/#freebsd--freenas so I'm noting it here.
The FreeBSD install docs need some updates to work around linux only binary installs.
Adjustments I needed to make:
Disable Linux only binary installs:
Remove sentry/cli from pnpm-lock.yaml (we've installed it above)
Add to package.json:
Build frontend:
Build backend:
Vikunja Version
HEAD
Browser and version
No response
Can you reproduce the bug on the Vikunja demo site?
Yes
Screenshots
No response
The text was updated successfully, but these errors were encountered: