You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I've been trying to make sqlite3 work on the react-typescript example ((link)) and it doesn't seem to work, have any of you tried anything similar?
[17:24:40] [@snowpack/plugin-typescript] 4:23:40 PM - Starting compilation in watch mode...
[electron] App threw an error during load
(...)
[electron] A JavaScript error occurred in the main process
Uncaught Exception:
Error: package.json does not exist at /opt/electron-snowpack/examples/react-typescript/dist/package.json
at Object.exports2.find (/opt/electron-snowpack/examples/react-typescript/dist/main/index.js:10559:15)
at node_modules/sqlite3/lib/sqlite3-binding.js (/opt/electron-snowpack/examples/react-typescript/dist/main/index.js:10778:31)
at __require (/opt/electron-snowpack/examples/react-typescript/dist/main/index.js:9:44)
at node_modules/sqlite3/lib/sqlite3.js (/opt/electron-snowpack/examples/react-typescript/dist/main/index.js:10828:20)
at __require (/opt/electron-snowpack/examples/react-typescript/dist/main/index.js:9:44)
at Object.<anonymous> (/opt/electron-snowpack/examples/react-typescript/dist/main/index.js:11000:33)
at Module._compile (internal/modules/cjs/loader.js:1078:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1108:10)
at Module.load (internal/modules/cjs/loader.js:935:32)
at Module._load (internal/modules/cjs/loader.js:776:14)
Thanks in advance.
The text was updated successfully, but these errors were encountered:
Hi, I've been trying to make sqlite3 work on the react-typescript example ((link)) and it doesn't seem to work, have any of you tried anything similar?
The steps to reproduce are as follows.
package.json
:src/main/index.ts
npm run dev
And then it throws the error:
Thanks in advance.
The text was updated successfully, but these errors were encountered: