[GH-ISSUE #4] TypeError: argument fn must be a function #1

Closed
opened 2026-03-03 15:54:50 +03:00 by kerem · 1 comment
Owner

Originally created by @yuceltoluyag on GitHub (Jul 28, 2020).
Original GitHub issue: https://github.com/moesaid/cleopatra/issues/4

TypeError: argument fn must be a function

  • windows 10

npm -v => 6.9.0
node -v => v12.5.0

npm run dev

TypeError: argument fn must be a function at Function.wrapfunction [as function] (C:\Users\yucel\Desktop\cleopatra\node_modules\depd\index.js:399:11) at populateConstructorExports (C:\Users\yucel\Desktop\cleopatra\node_modules\send\node_modules\http-errors\index.js:247:45) at Object.<anonymous> (C:\Users\yucel\Desktop\cleopatra\node_modules\send\node_modules\http-errors\index.js:29:1) at Module._compile (internal/modules/cjs/loader.js:776:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10) at Module.load (internal/modules/cjs/loader.js:643:32) at Function.Module._load (internal/modules/cjs/loader.js:556:12) at Module.require (internal/modules/cjs/loader.js:683:19) at require (internal/modules/cjs/helpers.js:16:16) at Object.<anonymous> (C:\Users\yucel\Desktop\cleopatra\node_modules\send\index.js:15:19)

Originally created by @yuceltoluyag on GitHub (Jul 28, 2020). Original GitHub issue: https://github.com/moesaid/cleopatra/issues/4 TypeError: argument fn must be a function - windows 10 npm -v => 6.9.0 node -v => v12.5.0 npm run dev `TypeError: argument fn must be a function at Function.wrapfunction [as function] (C:\Users\yucel\Desktop\cleopatra\node_modules\depd\index.js:399:11) at populateConstructorExports (C:\Users\yucel\Desktop\cleopatra\node_modules\send\node_modules\http-errors\index.js:247:45) at Object.<anonymous> (C:\Users\yucel\Desktop\cleopatra\node_modules\send\node_modules\http-errors\index.js:29:1) at Module._compile (internal/modules/cjs/loader.js:776:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10) at Module.load (internal/modules/cjs/loader.js:643:32) at Function.Module._load (internal/modules/cjs/loader.js:556:12) at Module.require (internal/modules/cjs/loader.js:683:19) at require (internal/modules/cjs/helpers.js:16:16) at Object.<anonymous> (C:\Users\yucel\Desktop\cleopatra\node_modules\send\index.js:15:19) `
kerem closed this issue 2026-03-03 15:54:50 +03:00
Author
Owner

@moesaid commented on GitHub (Jul 28, 2020):

This problem occurs in Turkish workstations with newer versions of node.js.

You should change the system language or downgrade your node.js version.

<!-- gh-comment-id:665027864 --> @moesaid commented on GitHub (Jul 28, 2020): This problem occurs in Turkish workstations with newer versions of node.js. You should change the system language or downgrade your node.js version.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cleopatra#1
No description provided.