fs-extra version:Care to post the full error log?
Hi,
I got the same error in a typescript react/electron app. I've used to override some webpack configs with react-app-rewired and everything worked fine. However recently I needed to switch over to rescripts and then I started to get this error.
I'm not sure where the problem lies exactly, but just wanted to check with you if you have some clues.
If you need some more info please let me know.
Console logs:
graceful-fs.js:66 Uncaught TypeError: Cannot read property 'toString' of undefined
at Object.<anonymous> (graceful-fs.js:66)
at Object../node_modules/graceful-fs/graceful-fs.js (graceful-fs.js:258)
at __webpack_require__ (bootstrap:781)
at fn (bootstrap:149)
at Object../node_modules/fs-extra/lib/fs/index.js (index.js:6)
at __webpack_require__ (bootstrap:781)
at fn (bootstrap:149)
at Object../node_modules/fs-extra/lib/index.js (index.js:4)
at __webpack_require__ (bootstrap:781)
at fn (bootstrap:149)
at Module.<anonymous> (Sound.tsx:1)
at Module../src/components/Sound.tsx (Sound.tsx:18)
at __webpack_require__ (bootstrap:781)
at fn (bootstrap:149)
at Module../src/components/AudioView.tsx (AudioView.scss?23d7:45)
at __webpack_require__ (bootstrap:781)
at fn (bootstrap:149)
at Module../src/App.tsx (App.scss?2f5e:45)
at __webpack_require__ (bootstrap:781)
at fn (bootstrap:149)
at Module../src/index.tsx (index.scss?c0ba:45)
at __webpack_require__ (bootstrap:781)
at fn (bootstrap:149)
at Object.0 (utils.regex.ts:15)
at __webpack_require__ (bootstrap:781)
at checkDeferredModules (bootstrap:45)
at Array.webpackJsonpCallback [as push] (bootstrap:32)
at main.chunk.js:1
Closing as too unclear to debug.
Most helpful comment
Care to post the full error log?