Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

159
Views
UI disappears when using sqlite3 and bluebird

I want to create a desktop app. I started to create one by myself using electron and sqlite3. I found out that I didn't understand a lot of things, so I found this tutorial: https://chamaradodandeniya.wordpress.com/2020/02/02/how-to-create-cross-platform-desktop-app-using-electron-react-and-sqllite/ I followed it in order to upgrade my knowledge about electron and sqlite. There are no errors when launching the app which seems great. Though there is one problem. The UI doesn't load! I figured out that the problem occurs because of these two code lines in de dao.js:

const sqlite3 = window.require('sqlite3')
const Promise = window.require('bluebird');

When I delete these lines, the UI comes back to the app. Though I think these lines are important when it comes to saving and getting data from the sqlite3 database.

Is there anyone who can help me solve this problem?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!