Working around Vite dependency incompatibility with FreeBSD #2846
-
Hi all, I'm looking to get the Woodpecker server installed on FreeBSD. CLI and runner appear to compile without issue, however Vite seems to depend on rollup, which appears to exclusively support linux/windows/mac/android as targets for reasons I don't quite understand. Vite is a bundler if I understand correctly, is there any way I can work around it? I'd be happy to make a PR with changes if vague directions can be provided, although I'm not a frontend developer and don't understand modern tooling standards very well. I don't believe this is a known problem in Woodpecker, but I'm not sure it deserves an Issue as it's a dependency's dependency. #2245 hasn't gained traction, and if supporting non-docker isn't super important I'd understand!
As I'm working through this, I've downgraded vite to "4.0.0". It builds! If I find a solution for getting it work on FreeBSD soon I'll follow up more formally! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
If it's working with v4, this looks like bug at vite's end 🤔 |
Beta Was this translation helpful? Give feedback.
-
You could bundle on a different arch and just copy the As it seems to be a pretty rare setup, I wouldn't want any special workarounds being added to the core WP repo. |
Beta Was this translation helpful? Give feedback.
-
Closing as this is old and an upstream issue - probably vitejs/vite#15122 |
Beta Was this translation helpful? Give feedback.
Closing as this is old and an upstream issue - probably vitejs/vite#15122