Skip to content
This repository has been archived by the owner on Jan 4, 2023. It is now read-only.

Why is this issue coming up? #51

Closed
17vali opened this issue Oct 20, 2019 · 3 comments
Closed

Why is this issue coming up? #51

17vali opened this issue Oct 20, 2019 · 3 comments
Assignees

Comments

@17vali
Copy link

17vali commented Oct 20, 2019

internal/util.js:260
throw new ERR_INVALID_ARG_TYPE('original', 'Function', original);
^

TypeError [ERR_INVALID_ARG_TYPE]: The "original" argument must be of type Function. Received type undefined
←[90m at promisify (internal/util.js:260:11)←[39m
at Object. (D:\Bot\MargarineBot-Release-1.0\node_modules\←[4mfs-nextra←[24m\src\fs.js:6:41)
←[90m at Module._compile (internal/modules/cjs/loader.js:956:30)←[39m
←[90m at Object.Module._extensions..js (internal/modules/cjs/loader.js:973:10)←[39m
←[90m at Module.load (internal/modules/cjs/loader.js:812:32)←[39m
←[90m at Function.Module._load (internal/modules/cjs/loader.js:724:14)←[39m
←[90m at Module.require (internal/modules/cjs/loader.js:849:19)←[39m
←[90m at require (internal/modules/cjs/helpers.js:74:18)←[39m
at Object. (D:\Bot\MargarineBot-Release-1.0\node_modules\←[4mfs-nextra←[24m\src\util.js:6:129)
←[90m at Module._compile (internal/modules/cjs/loader.js:956:30)←[39m {
code: ←[32m'ERR_INVALID_ARG_TYPE'←[39m
}

@AurelicButter
Copy link
Owner

Hmm... that's interesting. Can you give me a step by step of how you got that error?

@AurelicButter
Copy link
Owner

Summing up the messages done over Discord.

Dependencies and Node aren't cooperating like before. Node 10+ doesn't work for Margarine and based on the Discord.js package (which now requires Node 10+), reverting back to Node 8 doesn't work anyways.

@AurelicButter
Copy link
Owner

This has been fixed as of the latest release. I'll be closing this now.

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

No branches or pull requests

2 participants