You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The container starts and soon exits with this error:
SQLite: Error: libnode.so.72: cannot open shared object file: No such file or directory
at Object..node (node:internal/modules/cjs/loader:1931:18)
at Module.load (node:internal/modules/cjs/loader:1474:32)
at Function._load (node:internal/modules/cjs/loader:1286:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:234:24)
at Module.require (node:internal/modules/cjs/loader:1496:12)
at require (node:internal/modules/helpers:135:16)
at bindings (/app/node_modules/bindings/bindings.js:112:48)
at new Database (/app/node_modules/better-sqlite3/lib/database.js:48:64)
at Object.<anonymous> (/app/index.js:16:8) {
code: 'ERR_DLOPEN_FAILED'
}
I've already tried to install this libnode.so.72 library, but no package manager I tried could find it.
I know the error happens here:
constDatabase=require('better-sqlite3');db=newDatabase('database.db',{verbose: console.log});// <-- can't pass this line
Any help will be appreciated, also some dockerfile template would be nice.
The text was updated successfully, but these errors were encountered:
This is my dockerfile:
The container starts and soon exits with this error:
I've already tried to install this
libnode.so.72
library, but no package manager I tried could find it.I know the error happens here:
Any help will be appreciated, also some dockerfile template would be nice.
The text was updated successfully, but these errors were encountered: