WiseLibs / better-sqlite3

The fastest and simplest library for SQLite3 in Node.js.
MIT License
5.46k stars 396 forks source link

我引用sqlite3,但是它有一个错误 #1012

Closed zhangpan-soft closed 1 year ago

zhangpan-soft commented 1 year ago

better-sqlite3

e "original" argument must be of type Function at promisify (util.js:602:1) at eval (backup.js:6:1) at ./node_modules/better-sqlite3/lib/methods/backup.js (chunk-vendors.js:1589:1) at webpack_require__ (app.js:849:30) at fn (app.js:151:20) at Object.eval (database.js:72:1) at eval (database.js:86:30) at ./node_modules/better-sqlite3/lib/database.js (chunk-vendors.js:1553:1) at webpack_require__ (app.js:849:30) at fn (app.js:151:20) a