-
-
Notifications
You must be signed in to change notification settings - Fork 116
Closed
Labels
please verifyCould you see if this is better now?Could you see if this is better now?
Description
Describe the bug
I'm currently trying to use tinybase in an electon.js personal project but keep on getting an import error saying
Error [ERR_REQUIRE_ESM]: require() of ES Module ...\tinybase.js from .....\dataBase.js not supported. Instead change the require of tinybase.js in ...\dataBase.js to a dynamic import() which is available in all CommonJS modules.
dataBase.js is the file where I'm trying to use tinybase
Your Example Website or App
https://github.com/uwemneku/electron-quick-start/blob/master/main.js
Steps to Reproduce the Bug or Issue
- Clone this repo
- Start the app
npm start
Expected behavior
As a user, I expect the app to start without any issues
Screenshots or Videos
Platform
- OS: [Windows]
- Browser: [Chronium]
Additional context
No response
Metadata
Metadata
Assignees
Labels
please verifyCould you see if this is better now?Could you see if this is better now?

