Error: Can't resolve 'sqlite3-opfs-async-proxy.js'
Closed this issue · 1 comments
saeedesmaili commented
I installed the package using npm install @antonz/sqlean
and tried using it in my react project with:
import sqlite3InitModule from '@antonz/sqlean';
But I get the following error:
Compiled with problems:
×
ERROR in ./node_modules/@antonz/sqlean/dist/sqlean.mjs 5779:20-87
Module not found: Error: Can't resolve 'sqlite3-opfs-async-proxy.js' in '<my-project>/node_modules/@antonz/sqlean/dist'
nalgeon commented
Sorry, can't help you with that. Try using the official package @sqlite.org/sqlite-wasm.