Skip to content

TypeError: Store is not a constructor #289

@MProix

Description

@MProix

Beginning of my code :

const { app, BrowserWindow, ipcMain, Menu, Notification, nativeImage } = require("electron"),
    Store = require("electron-store"),
    store = new Store()

When I'm running my app, i've got a :
"App threw an error during load
TypeError: Store is not a constructor"

It worked well some weeks ago...

Thanks for your help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions