This repository was archived by the owner on Oct 4, 2023. It is now read-only.

Description
I have a database connection in renderer dir and I have to get userData path using app.getPath.
Here is the code:
import { remote } from 'electron'
let databaseAddress = path.join(remote.app.getPath('userData'), 'db.db')
But it thorws an error which is:

- Node version: v10.15.0
- NPM version: 6.4.1
- vue-cli version: 3.2.1
- Operating System: Ubuntu 18.10