Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/games/anki/files/patch-package.json
16461 views
1
Use the WASM build to prevent the following error during build:
2
3
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.
4
5
The following platform-architecture combinations are supported:
6
[...]
7
8
If this is important to you, please consider supporting Rollup to make a native build for your platform and architecture available.
9
at Object.<anonymous> (/wrkdirs/usr/ports/games/anki/work/anki-24.06.2/out/node_modules/rollup/dist/native.js:38:8)
10
[...]
11
12
--- package.json.orig 2025-07-04 08:49:17 UTC
13
+++ package.json
14
@@ -81,6 +81,7 @@
15
},
16
"resolutions": {
17
"canvas": "npm:[email protected]",
18
+ "rollup": "npm:@rollup/wasm-node",
19
"cookie": "0.7.0",
20
"vite": "6"
21
},
22
23