Skip to content

Error: Cannot find module '@vscode/sqlite3' #48

Description

Issue Summary

Hello,

I'm using vscode/sqlite3 for my VSC extension. It works fine if I run the VSC sandbox, but after I built the VSIX file and install in to my VSC it failed. I found this error in the logs:

2024-11-28 20:04:00.910 [error] Error: Cannot find module '@vscode/sqlite3'
Require stack:
- /Users/dan/.vscode/extensions/dan-ext-0.1.2-rc-810/dist/extension.js
- /Users/dan/Soft/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js

Could you please help me?

Best regards,
Alex

Steps to Reproduce

  1. Use vscode/sqlite3 in extension
  2. Create VSIX and install it to VSC

Version

^5.1.8-vscode

Node.js Version

v18.12.1 in terminal, VSCode version is 1.95.3

How did you install the library?

package.json

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue identified by VS Code Team member as probable bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions