-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Support for FreeBSD #5491
Comments
If you are using npm: "overrides": {
"nuxt": {
"rollup": "npm:@rollup/wasm-node@latest"
}
} You can try to first remove Other package managers have similar methods too, duplicate of #5194 |
Thank you @liuly0322 for your hint. I saw that task you mentioned above. Unfortunatelly it does not work. My
{
"name": "nuxt-app",
"private": true,
"type": "module",
"overrides": {
"nuxt": {
"rollup": "npm:@rollup/wasm-node@latest"
}
},
"scripts": {
"build": "nuxt build",
"dev": "nuxt dev",
"generate": "nuxt generate",
"preview": "nuxt preview",
"postinstall": "nuxt prepare",
"test-rollup": "rollup --version"
},
"devDependencies": {
"@rollup/wasm-node": "latest",
"@nuxt/devtools": "latest",
"@nuxtjs/color-mode": "^3.3.0",
"@nuxtjs/i18n": "^8.1.0",
"@nuxtjs/tailwindcss": "^6.9.4",
"@types/js-cookie": "^3.0.6",
"@types/lodash": "^4.14.202",
"dayjs-nuxt": "^2.1.9",
"nuxt": "^3.8.1",
"sass": "^1.69.5",
"typescript": "^5.3.3",
"vue": "^3.3.8",
"vue-router": "^4.2.5",
"vue-tsc": "^1.8.22"
},
"dependencies": {
"@fullcalendar/core": "^6.1.11",
"@fullcalendar/daygrid": "^6.1.11",
"@fullcalendar/interaction": "^6.1.11",
"@fullcalendar/list": "^6.1.11",
"@fullcalendar/timegrid": "^6.1.11",
"@fullcalendar/vue3": "^6.1.11",
"@pinia/nuxt": "^0.5.1",
"@vuepic/vue-datepicker": "^8.1.1",
"js-cookie": "^3.0.5",
"loadash": "^1.0.0",
"lodash": "^4.17.21",
"next-auth": "4.21.1",
"vue3-colorpicker": "^2.2.3",
"vue3-toastify": "^0.1.14"
}
} but anyway. Thank you for your help :) |
This also impacts the Radicle project: https://app.radicle.xyz/nodes/seed.radicle.garden/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5/issues/0d13d0bb89283e386294e7b769c95ea47d35a650 |
Native FreeBSD support should be possible if someone would take the time to set it up properly in the pipeline. PR welcome! This is how napi-rs builds FreeBSD: https://github.com/napi-rs/package-template/blob/f653a34ca6166f9eb3586d704923a4232f9d7efc/.github/workflows/CI.yml#L149-L183 The main reason it was skipped is that it has a completely separate pipeline, and we have limited resources. But if there is interest and someone takes the time to look into it and set it up, we are happy to support it! |
@lukastaegert I am thinking about contributing to this project by enabling building freebsd. I wanted to use the same solution as The only "problem" is that current action file for rollup has a pretty matrix strategy for all currently supported target and it uses actions like That being said, would you be ok if I just created an entirely separate build step for freebsd? if I were to use What do you think about this approach? |
If that is necessary, then that is fine with me.
I think there would be a problem as the "optionalDependencies" mechanism we use for installing the correct binary can select by operating system https://docs.npmjs.com/cli/v10/configuring-npm/package-json#os and cpu, but you cannot select different operating system versions. So if we build more than one FreeBSD version, everyone on FreeBSD would first need to download all of the versions before selecting the right one (I think so at least). Are you sure it is not possible to compile to run at least on all recent versions? |
Rollup Version
latest
Operating System (or Browser)
FreeBSD
Node Version (if applicable)
18
Link To Reproduction
https://github.com/michal-stachura/free-bsd
Expected Behaviour
Install dependencies corectly and run Nuxt3 project on FreeBSD
Actual Behaviour
overriding "rollup" in package.json does not solve the problem.
The text was updated successfully, but these errors were encountered: