Skip to content

Prevent error running grunt-cloudfront #426

Description

Fatal error: Cannot read property 'length' of null
TypeError: Cannot read property 'length' of null
    at Object.AWS.util.buffer.concat (/vagrant/node_modules/grunt-cloudfront/node_modules/aws-sdk/lib/util.js:114:29)
    at Request.HTTP_DONE (/vagrant/node_modules/grunt-cloudfront/node_modules/aws-sdk/lib/event_listeners.js:210:36)
    at Request.callListeners (/vagrant/node_modules/grunt-cloudfront/node_modules/aws-sdk/lib/sequential_executor.js:132:20)
    at Request.emit (/vagrant/node_modules/grunt-cloudfront/node_modules/aws-sdk/lib/sequential_executor.js:100:10)
    at Request.emitEvent (/vagrant/node_modules/grunt-cloudfront/node_modules/aws-sdk/lib/request.js:392:10)
    at IncomingMessage.onEnd (/vagrant/node_modules/grunt-cloudfront/node_modules/aws-sdk/lib/event_listeners.js:180:26)
    at emitNone (events.js:72:20)
    at IncomingMessage.emit (events.js:166:7)
    at endReadableNT (_stream_readable.js:893:12)
    at doNTCallback2 (node.js:430:9)

This doesn't seem to prevent the invalidation happening.

Metadata

Metadata

Labels

category:browserAbout the browser-specific code.type:defectBugs or weaknesses. The issue has to contain steps to reproduce.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions