Skip to content

Instantly share code, notes, and snippets.

@JeroenVinke
Created August 30, 2015 09:48
Show Gist options
  • Save JeroenVinke/58a108b43eb110e154bd to your computer and use it in GitHub Desktop.
Save JeroenVinke/58a108b43eb110e154bd to your computer and use it in GitHub Desktop.
D:\Development\validation\build\tasks\build.js:21
file.contents = new Buffer(tools.extractImports(file.contents.toString("
^
TypeError: Cannot read property 'contents' of undefined
at DestroyableTransform._transform (D:\Development\validation\build\tasks\build.js:21:59)
at DestroyableTransform.Transform._read (D:\Development\validation\node_modules\through2\node_modules\readable-stream\lib
\_stream_transform.js:172:10)
at DestroyableTransform.Transform._write (D:\Development\validation\node_modules\through2\node_modules\readable-stream\lib
\_stream_transform.js:160:12)
at doWrite (D:\Development\validation\node_modules\through2\node_modules\readable-stream\lib\_stream_writable.js:326:12)
at writeOrBuffer (D:\Development\validation\node_modules\through2\node_modules\readable-stream\lib\_stream_writable.js:312:5)
at DestroyableTransform.Writable.write (D:\Development\validation\node_modules\through2\node_modules\readable-stream\lib
\_stream_writable.js:239:11)
at DestroyableTransform.ondata (D:\Development\validation\node_modules\aurelia-tools\node_modules\through2\node_modules
\readable-stream\lib\_stream_readable.js:574:20)
at DestroyableTransform.emit (events.js:107:17)
at readableAddChunk (D:\Development\validation\node_modules\aurelia-tools\node_modules\through2\node_modules\readable-stream
\lib\_stream_readable.js:198:16)
at DestroyableTransform.Readable.push (D:\Development\validation\node_modules\aurelia-tools\node_modules
\through2\node_modules\readable-stream\lib\_stream_readable.js:162:10)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment