-
Notifications
You must be signed in to change notification settings - Fork 284
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sqlite3 5.1.7 will not require or import on nodejs #4412
Comments
Two notes:
|
I've simplified the test case to:
I've also tried this with sqlite3 versions 5.1.5, 5.1.6, and 5.1.7 and get the same results. This is such a simple test and I find it hard to believe that no one can run sqlite3 in nodejs in msys2/mingw64 environment. |
Same issue using --import=sqlite3
|
I installed sqlite3 with
and this seems to get rid is DLL loading error but is now goes back to the original error
SO, this is clearly not a programming issue. It appears to be an issue between nodejs and sqlite3. I've reported this on both sites but am totally stuck in the water! |
This appears to be an issue with a specific package. Please report to them and obtain more information about whether this is actually a problem with node before reporting an issue Thank you |
Node.js Version
v21.7.2
NPM Version
10.5.0
Operating System
MINGW64_NT-10.0-19045 DESKTOP-MD7Q6H6 3.5.3.x86_64 2024-05-06 06:45 UTC x86_64 Msys
Subsystem
Other
Description
I can not get sqlite3 5.1.7 to import or require into a script. It throws a kill. I have tried multiple way of doing this with no success.
Minimal Reproduction
Alternatively using "type": "module" in package.json
Output
Before You Submit
The text was updated successfully, but these errors were encountered: