Closed nulkode closed 1 year ago
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 :+1:
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.