-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
Cannot find module 'sql.js/module' #109
Labels
type: bug
Something isn't working as intended or expected.
Comments
Yeah, confirmed this is an issue. I'm not sure what's changed since this code was originally put in, but it should be a relatively easy fix to adjust those imports. A quick glance through the history of sql.js made it seem like that entry point hasn't been a thing for quite a while ¯\_(ツ)_/¯ |
haltcase
added a commit
that referenced
this issue
Aug 8, 2021
haltcase
added a commit
that referenced
this issue
Aug 8, 2021
Thank you! |
Sure thing, this is released in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
description
I try to use trilogy in a TypeScript project I'm currently working on. As soon as I use
import { connect } from 'trilogy'
somewhere I am presented with the error below bytsc
:I planned on using
sqlite3
as backend therefore I only usednpm i sqlite3
, but the error appears wether I am defining the client to besqlite3
orsql.js
. I also tried tonpm i sql.js
, but the error persists.steps to reproduce
npm install typescript @types/node
npm install trilogy sqlite3
index.ts
with the source code belownpx tsc index.ts
source
error
environment
I am using Windows 10 Pro 64 Bit, Node v14.15.3 and npm 6.14.9.
The text was updated successfully, but these errors were encountered: