T
Termux6mo ago
Morsel

Hi An error I don't know about (I'm new)

/storage/emulated/0/morsel_bot/node_modules/@napi-rs/canvas/js-binding.js:216 throw loadError ^ Error: dlopen failed: library "/storage/emulated/0/morsel_bot/node_modules/@napi-rs/canvas-android-arm64/skia.android-arm64.node" needed or dlopened by "/data/data/com.termux/files/usr/bin/node" is not accessible for the namespace "(default)" at Module._extensions..node (node:internal/modules/cjs/loader:1454:18) at Module.load (node:internal/modules/cjs/loader:1208:32) at Module._load (node:internal/modules/cjs/loader:1024:12) at Module.require (node:internal/modules/cjs/loader:1233:19) at require (node:internal/modules/helpers:179:18) at Object.<anonymous> (/storage/emulated/0/morsel_bot/node_modules/@napi-rs/canvas/js-binding.js:33:29) at Module._compile (node:internal/modules/cjs/loader:1358:14) at Module._extensions..js (node:internal/modules/cjs/loader:1416:10) at Module.load (node:internal/modules/cjs/loader:1208:32) at Module._load (node:internal/modules/cjs/loader:1024:12) { code: 'ERR_DLOPEN_FAILED' } Node.js v20.15.1 /sdcard/morsel_bot $:blobcatiguess: :blobcatiguess:
Solution:
@Sefa don't run stuff in shared storage but in Termux's files
Jump to solution
2 Replies
komo
komo6mo ago
i'm assuming it failed to find the Skia bindings for Android, have you tried building it using napi?
Solution
Dr. Jaska
Dr. Jaska6mo ago
@Sefa don't run stuff in shared storage but in Termux's files
Want results from more Discord servers?
Add your server