[plugin:vite:import-analysis] Package subpath 'undefined' is not defined by "exports" in /Users/Documents/Project/test-statistics/node_modules/lowdb/package.json.
import low from 'lowdb'
import LocalStorage from 'lowdb/adapters/LocalStorage'
const adapter = new LocalStorage(`lowdb-data`)
const db = low(adapter)
db.defaults({
dataList: []
}).write()
export default db
Error
[plugin:vite:import-analysis] Package subpath 'undefined' is not defined by "exports" in /Users/Documents/Project/test-statistics/node_modules/lowdb/package.json.
Package
JS
some help would be appreciated