[GH-ISSUE #282] FreeBSD support for v2 #4576

Closed
opened 2026-03-01 15:34:24 +03:00 by kerem · 0 comments
Owner

Originally created by @Tom60chat on GitHub (Feb 10, 2024).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/282

Describe the bug
If you build the app on a FreeBSD system you will get during pmpn build:

Error: Your current platform "freebsd" and architecture "x64" combination is not yet supported by the native Rollup build. Please use the WASM build "@rollup/wasm-node" instead.

Workaround
https://github.com/vitejs/vite/issues/15122#issuecomment-1824234247
You can fix it by modifying the app/package.json and write at the end before the last }:

,
 "pnpm": {
    "overrides": {
      "rollup": "npm:@rollup/wasm-node"
    }
  }

Info

  • Server OS: FreeBSD 13.2-RELEASE
  • Server Arch: x64
  • Nginx UI Version: v2.0.0-beta.14

I don't know if it's possible to override for a specific operating system.

Also, the requirements: (because I think they're obsolete in README.md)

  • pkg: node21, npm-node21, libuv, go121
  • npm: pmpn
Originally created by @Tom60chat on GitHub (Feb 10, 2024). Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/282 **Describe the bug** If you build the app on a FreeBSD system you will get during `pmpn build`: ``` Error: Your current platform "freebsd" and architecture "x64" combination is not yet supported by the native Rollup build. Please use the WASM build "@rollup/wasm-node" instead. ``` **Workaround** https://github.com/vitejs/vite/issues/15122#issuecomment-1824234247 You can fix it by modifying the `app/package.json` and write at the end before the last `}`: ```json , "pnpm": { "overrides": { "rollup": "npm:@rollup/wasm-node" } } ``` **Info** - Server OS: FreeBSD 13.2-RELEASE - Server Arch: x64 - Nginx UI Version: v2.0.0-beta.14 --- I don't know if it's possible to override for a specific operating system. Also, the requirements: (because I think they're obsolete in README.md) - pkg: node21, npm-node21, libuv, go121 - npm: pmpn
kerem 2026-03-01 15:34:24 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-ui#4576
No description provided.