Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: The "original" argument must be of type Function #97

Open
jbnv opened this issue Jun 27, 2020 · 5 comments
Open

TypeError: The "original" argument must be of type Function #97

jbnv opened this issue Jun 27, 2020 · 5 comments

Comments

@jbnv
Copy link

jbnv commented Jun 27, 2020

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)
@aka-somix
Copy link

I'm having the exact same problem, has anyone find a way to fix it ?

@LeileiChui
Copy link

I also encountered this problem

@Traineratwot
Copy link

Traineratwot commented Oct 2, 2021

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"

@ldhnet
Copy link

ldhnet commented Dec 21, 2021

I also encountered this problem, Pending resolution......

@anserwaseem
Copy link

Did anyone find a solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants