Failed building frontend on FreeBSD: 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.
yonas opened this issue · comments
Yonas Yanfa commented
$ yarn install && yarn build
yarn install v1.22.19
[1/4] Resolving packages...
[2/4] Fetching packages...
[------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------] 0/750(node:64346) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[3/4] Linking dependencies...
warning " > @tiptap/vue-3@2.1.13" has unmet peer dependency "@tiptap/core@^2.0.0".
warning "@tiptap/vue-3 > @tiptap/extension-bubble-menu@2.1.13" has unmet peer dependency "@tiptap/core@^2.0.0".
warning "@tiptap/vue-3 > @tiptap/extension-floating-menu@2.1.13" has unmet peer dependency "@tiptap/core@^2.0.0".
warning " > tiptap-markdown@0.8.8" has unmet peer dependency "@tiptap/core@^2.0.3".
warning "prettier-plugin-css-order > css-declaration-sorter@7.1.1" has unmet peer dependency "postcss@^8.0.9".
warning "prettier-plugin-css-order > postcss-less@6.0.0" has unmet peer dependency "postcss@^8.3.5".
warning "prettier-plugin-css-order > postcss-scss@4.0.9" has unmet peer dependency "postcss@^8.4.29".
warning Workspaces can only be enabled in private projects.
warning Workspaces can only be enabled in private projects.
[4/4] Building fresh packages...
Done in 55.01s.
yarn run v1.22.19
$ vue-tsc && vite build
/memfs/git/kitsune/kitsune-fe/node_modules/rollup/dist/native.js:31
throw new Error(
^
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.
The following platform-architecture combinations are supported:
android-arm
android-arm64
darwin-arm64
darwin-x64
linux-arm
linux-arm64
linux-arm64 (musl)
linux-x64
linux-x64 (musl)
win32-arm64
win32-ia32
win32-x64
If this is important to you, please consider supporting Rollup to make a native build for your platform and architecture available.
at Object.<anonymous> (/memfs/git/kitsune/kitsune-fe/node_modules/rollup/dist/native.js:31:8)
at Module._compile (node:internal/modules/cjs/loader:1376:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
at Module.load (node:internal/modules/cjs/loader:1207:32)
at Module._load (node:internal/modules/cjs/loader:1023:12)
at cjsLoader (node:internal/modules/esm/translators:345:17)
at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:294:7)
at ModuleJob.run (node:internal/modules/esm/module_job:218:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:329:24)
Node.js v21.2.0
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
OS: FreeBSD 14.0