AlipBot / Api-Alpis

Rest Api Alpis
https://alpis.eu.org
51 stars 467 forks source link

Bantu pis #21

Open Danz-X opened 1 year ago

Danz-X commented 1 year ago

node:internal/modules/cjs/loader:1325 return process.dlopen(module, path.toNamespacedPath(filename)); ^

Error: dlopen failed: library "/storage/emulated/0/api-raditya/node_modules/canvas/build/Release/canvas.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:1325:18) at Module.load (node:internal/modules/cjs/loader:1096:32) at Module._load (node:internal/modules/cjs/loader:935:12) at Module.require (node:internal/modules/cjs/loader:1120:19) at require (node:internal/modules/helpers:112:18) at Object. (/storage/emulated/0/api-raditya/node_modules/canvas/lib/bindings.js:3:18) at Module._compile (node:internal/modules/cjs/loader:1239:14) at Module._extensions..js (node:internal/modules/cjs/loader:1293:10) at Module.load (node:internal/modules/cjs/loader:1096:32) at Module._load (node:internal/modules/cjs/loader:935:12) { code: 'ERR_DLOPEN_FAILED' }

Node.js v19.4.0

Danz-X commented 1 year ago

node:internal/bootstrap/switches/does_own_process_state:126 cachedCwd = rawMethods.cwd(); ^

Error: ENOENT: no such file or directory, uv_cwd at process.wrappedCwd [as cwd] (node:internal/bootstrap/switches/does_own_process_state:126:28) at node:path:1086:24 at Object.resolve (node:path:1100:39) at resolveMainPath (node:internal/modules/run_main:16:40) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:24) at node:internal/main/run_main_module:23:47 { errno: -2, code: 'ENOENT', syscall: 'uv_cwd' }

Node.js v19.4.0

Ini juga pis

ahlulmukh commented 1 year ago

coba hapus node_modulesnya terus npm i lagi

AlipBot commented 1 year ago

cuba run

npm rebuild bcrypt --build-from-source

atau reninstall module semua nya