-
-
Notifications
You must be signed in to change notification settings - Fork 930
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 'lowdb/node' or its correspoing type declaractions #568
Comments
I don't know if this is a duplicate of #554 but this has never happend to me before. |
I think it's probably related to the config. I have a working app with lowdb v6, TS v5, node v19.9.0 and the following config: {
"extends": "@sindresorhus/tsconfig",
"compilerOptions": {
"incremental": true,
"outDir": "./lib",
"skipLibCheck": true
}
} If you can't change your config, you can have a look at the workaround in #554 BTW, it's because lowdb uses this https://nodejs.org/api/packages.html#subpath-exports |
Many thanks for the PR 👍 |
I'm very happy to help. This was my first time contributing to a serious open source project. |
Code
Packages
typescript
: 5.0.4Typescript config
Error message
Expected behaviour
The message should not be shown and the app should run.
The text was updated successfully, but these errors were encountered: