I am building an electron app with Angular.js. Here I am doing electron storage. But when I built it it always gives me some errors. which are
- “Uncaught TypeError: Cannot define property parameters, object is not extensible”
- at Function.defineProperty ()
- at a (main.14acdcbc49c5dc9c.js:1:354996)
- at 5629 (main.14acdcbc49c5dc9c.js:1:1923787)
- at a (runtime.874a5b2956b8256a.js:1:128)
- at main.14acdcbc49c5dc9c.js:1:2184662
- at o (runtime.874a5b2956b8256a.js:1:1030)
- at main.14acdcbc49c5dc9c.js:1:93
I have tried several things but it’s not working still. I have fixed all the linter errors & type errors too. It should work. But if I remove the electron storage related functionalities the build process works. Can anyone solve my issue?