Grunt: TypeError at node.js:891

If you ever get this:

var fn = runInThisContext(source, this.filename, true);
TypeError: undefined is not a function
at createWritableStdioStream (node.js:555:18)
at process.stdout (node.js:613:16)
at write (something/node_modules/grunt/lib/grunt/log.js:78:12)
at writeln (something/node_modules/grunt/lib/grunt/log.js:85:3)
at Object.log.writeln something/node_modules/grunt/lib/grunt/log.js:96:3)
at writeln (something/node_modules/grunt/lib/grunt/fail.js:39:13)
at (something/node_modules/grunt/lib/grunt/fail.js:55:3)
at process.uncaughtHandler (something/node_modules/grunt/lib/grunt.js:123:10)
at process.EventEmitter.emit (events.js:95:17)
at process._fatalException (node.js:272:26)

Know that you shouldn’t do this:

grunt.registerTask('concat', ['concat']);

That is all.

One thought on “Grunt: TypeError at node.js:891

  1. Permalink  ⋅ Reply


    January 11, 2014 at 1:02pm

    You have just saved me so much frustration. You’re my new favorite person. Thanks!!

Leave a Reply

Your email will not be published. Name and Email fields are required.