Skip to content

Cannot read property 'chunk' of undefined #4

@danielflippance

Description

@danielflippance

I'm seeing the following error when using the node-plupload sample code from the README.md along with the plupload custom sample from http://www.plupload.com/docs/Getting-Started#full-example:

Process Error: TypeError: Cannot read property 'chunk' of undefined
TypeError: Cannot read property 'chunk' of undefined
    at /blah/blah/node_modules/node-pluploader/index.js:118:16
    at /blah/blah/node_modules/node-pluploader/node_modules/multiparty/index.js:116:9
    at /blah/blah/node_modules/node-pluploader/node_modules/multiparty/index.js:108:9
    at process._tickDomainCallback (node.js:459:13)

index.js 118 is the following code:

116: form.parse(req, function(err, fields, files) {
117:
118: if (!fields.chunk) {

Any idea why fields would be undefined? I'm using ExpressJS 4.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions