Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants