nyxynyx / electron-react-parcel-boilerplate-problem

Error with using redux-beacon-electron: fs.existsSync is not a function

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Importing redux-beacon-electon causes error: Uncaught TypeError: fs.existsSync is not a function

screenshot

To Reproduce:

  1. yarn
  2. yarn start

Details

The problematic module import is located in the file ./src/store.js.

import { 
    createElectronGoogleAnalyticsTarget, 
    actionMetaEventMapper as eventsMapper
} from 'redux-beacon-electron'

Environment

Software Version(s)
Parcel 1.12.4
Node v13.7.0
npm/Yarn 1.22.4
Operating System Mac OS X Catalina 10.15.3

About

Error with using redux-beacon-electron: fs.existsSync is not a function

License:MIT License


Languages

Language:JavaScript 90.5%Language:HTML 8.9%Language:CSS 0.6%