Closed samuelstroschein closed 1 month ago
Suspicion confirmed. Creating an in memory database fails with "URL invalid". Investigation pending.
Bug found. Has to do with Sherlock running in Electron which is operating in CommonJS instead of ESM.
The SQLite dependency uses import.meta
which is not available in CJS. The corresponding new URL(import.meta)
subsequently fails.
Aaaaaaaaaaand i proudly present sherlock loading a project
opening plugins from the file system is not working yet. Also, i need to figure out how to polyfill import.meta
Fixed in https://github.com/opral/monorepo/commit/9b97457e8ad6018ab8a69827c8eb64b9f076aced
I can now open inlang projects. Will work on MESDK-214 now
@samuel.stroschein said in SHERL-102:
I suspect that the WASM sqlite can't be loaded in sherlock.