Skip to content

Instantly share code, notes, and snippets.

@michaelherold
Created February 23, 2015 17:35
Show Gist options
  • Save michaelherold/dc145c3eaac4349c0ad7 to your computer and use it in GitHub Desktop.
Save michaelherold/dc145c3eaac4349c0ad7 to your computer and use it in GitHub Desktop.
gulp-cache 0.2.7 error
Unhandled rejection TypeError: Cannot read property 'toString' of null
at defaultKey (/home/herold/code/project/node_modules/gulp-cache/index.js:17:39)
at objectAssign._getFileKey (/home/herold/code/project/node_modules/gulp-cache/lib/TaskProxy.js:56:32)
at objectAssign._checkForCachedValue (/home/herold/code/project/node_modules/gulp-cache/lib/TaskProxy.js:68:21)
at objectAssign.processFile (/home/herold/code/project/node_modules/gulp-cache/lib/TaskProxy.js:24:21)
at DestroyableTransform._transform (/home/herold/code/project/node_modules/gulp-cache/index.js:83:19)
at DestroyableTransform.Transform._read (/home/herold/code/project/node_modules/gulp-cache/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:184:10)
at DestroyableTransform.Transform._write (/home/herold/code/project/node_modules/gulp-cache/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:172:12)
at doWrite (/home/herold/code/project/node_modules/gulp-cache/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:237:10)
at clearBuffer (/home/herold/code/project/node_modules/gulp-cache/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:316:5)
at onwrite (/home/herold/code/project/node_modules/gulp-cache/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:274:7)
at WritableState.onwrite (/home/herold/code/project/node_modules/gulp-cache/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:106:5)
at afterTransform (/home/herold/code/project/node_modules/gulp-cache/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:104:5)
at TransformState.afterTransform (/home/herold/code/project/node_modules/gulp-cache/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:79:12)
at /home/herold/code/project/node_modules/gulp-cache/index.js:84:13
at tryCatcher (/home/herold/code/project/node_modules/gulp-cache/node_modules/bluebird/js/main/util.js:24:31)
at Promise._settlePromiseFromHandler (/home/herold/code/project/node_modules/gulp-cache/node_modules/bluebird/js/main/promise.js:454:31)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment