node-libs-browser
node-libs-browser copied to clipboard
TypeError: The "original" argument must be of type Function
What does this error mean, and how do I resolve it?
TypeError: The "original" argument must be of type Function
at promisify (util.js?eed9:602)
at Object.eval (index.js?b048:9)
at eval (index.js:277)
at Object../node_modules/readdirp/index.js (printable.js:5067)
at __webpack_require__ (runtime.js:854)
at fn (runtime.js:151)
at Object.eval (index.js?b44e:7)
at eval (index.js:942)
at Object../node_modules/chokidar/index.js (printable.js:1206)
at __webpack_require__ (runtime.js:854)
I'm having the exact same problem, has anyone find a way to fix it ?
I also encountered this problem
I also encountered this problem, I Write electron program. because of this error I have to write
const fs = window.require("fs")
instead of
import fs from "fs"
I also encountered this problem, Pending resolution......
Did anyone find a solution?