mirror of
https://github.com/pnpm/pnpm.git
synced 2026-04-09 09:38:20 -04:00
The worker's initStore eagerly opened the SQLite index database, racing with the main thread's StoreIndex constructor. On Windows with mandatory file locking this caused SQLITE_CANTOPEN. The worker now initializes its StoreIndex lazily on first use. Also fixed bare .catch() creating an unhandled promise rejection.