vscode icon indicating copy to clipboard operation
vscode copied to clipboard

在code-server内连接sqlite3提醒错误

Open xiusin opened this issue 2 years ago • 0 comments

[BUG] [PPZ] 连接失败 Error: Knex: run
$ npm install sqlite3 --save
Cannot find module '/root/.local/share/code-server/extensions/ppz.ppz-0.3.1/node_modules/sqlite3/lib/binding/napi-v6-linux-glibc-x64/node_sqlite3.node'
Require stack:
- /root/.local/share/code-server/extensions/ppz.ppz-0.3.1/node_modules/sqlite3/lib/sqlite3-binding.js
- /root/.local/share/code-server/extensions/ppz.ppz-0.3.1/node_modules/sqlite3/lib/sqlite3.js
- /root/.local/share/code-server/extensions/ppz.ppz-0.3.1/node_modules/knex/lib/dialects/sqlite3/index.js
- /root/.local/share/code-server/extensions/ppz.ppz-0.3.1/node_modules/knex/lib/dialects/index.js
- /root/.local/share/code-server/extensions/ppz.ppz-0.3.1/node_modules/knex/lib/knex-builder/internal/config-resolver.js
- /root/.local/share/code-server/extensions/ppz.ppz-0.3.1/node_modules/knex/lib/knex-builder/Knex.js
- /root/.local/share/code-server/extensions/ppz.ppz-0.3.1/node_modules/knex/lib/index.js
- /root/.local/share/code-server/extensions/ppz.ppz-0.3.1/node_modules/knex/knex.js
- /root/.local/share/code-server/extensions/ppz.ppz-0.3.1/app/service/connection/base.js
- /root/.local/share/code-server/extensions/ppz.ppz-0.3.1/app/service/connection/mysql.js
- /root/.local/share/code-server/extensions/ppz.ppz-0.3.1/app/service/connection/index.js
- /root/.local/share/code-server/extensions/ppz.ppz-0.3.1/app/view/treeview/connection/tree/root.js
- /root/.local/share/code-server/extensions/ppz.ppz-0.3.1/app/view/treeview/connection/index.js
- /root/.local/share/code-server/extensions/ppz.ppz-0.3.1/app/view/treeview/index.js
- /root/.local/share/code-server/extensions/ppz.ppz-0.3.1/app/service/init.js
- /root/.local/share/code-server/extensions/ppz.ppz-0.3.1/app/extension.js
- /usr/lib/code-server/vendor/modules/code-oss-dev/out/vs/loader.js
- /usr/lib/code-server/vendor/modules/code-oss-dev/out/bootstrap-amd.js
- /usr/lib/code-server/vendor/modules/code-oss-dev/out/bootstrap-fork.js

还是不支持server的模式

xiusin avatar Aug 10 '22 02:08 xiusin