Skip to content
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 support for v2 #282

Closed
Tom60chat opened this issue Feb 10, 2024 · 0 comments
Closed

FreeBSD support for v2 #282

Tom60chat opened this issue Feb 10, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@Tom60chat
Copy link

Tom60chat commented Feb 10, 2024

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
vitejs/vite#15122 (comment)
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
@0xJacky 0xJacky added the documentation Improvements or additions to documentation label Feb 13, 2024
@0xJacky 0xJacky pinned this issue May 2, 2024
@0xJacky 0xJacky closed this as completed May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants