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: callback is not a function #19

Closed
ghost opened this issue Feb 14, 2017 · 1 comment
Closed

TypeError: callback is not a function #19

ghost opened this issue Feb 14, 2017 · 1 comment

Comments

@ghost
Copy link

ghost commented Feb 14, 2017

\node_modules\express-fileupload\lib\index.js:66
callback(null);
^

TypeError: callback is not a function
at WriteStream. (\node_modules\express-fileupload\lib\index.js:66:17)
at emitNone (events.js:91:20)
at WriteStream.emit (events.js:185:7)
at fs.js:2037:14
at \node_modules\graceful-fs\graceful-fs.js:43:10
at FSReqWrap.oncomplete (fs.js:123:15)
[nodemon] app crashed - waiting for file changes before starting...
Is it express-fileupload related?

@nisan92
Copy link

nisan92 commented Dec 15, 2017

Having same problem here
node_modules/express-fileupload/lib/index.js:145
callback(error);
^

TypeError: callback is not a function
at doMove (/home/ubuntu/workspace/node_modules/express-fileupload/lib/index.js:145:17)
at WriteStream. (/home/ubuntu/workspace/node_modules/express-fileupload/lib/index.js:168:15)
at emitOne (events.js:101:20)
at WriteStream.emit (events.js:188:7)
at /home/ubuntu/workspace/node_modules/graceful-fs/graceful-fs.js:211:14
at /home/ubuntu/workspace/node_modules/graceful-fs/graceful-fs.js:241:16
at FSReqWrap.oncomplete (fs.js:123:15)

This was referenced Nov 18, 2019
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

1 participant