But, if i put grunt-karma load aftergrunt-postcss i got exception:
$ grunt postcss --stack
Fatal error: Cannot read property 'length' of undefined
TypeError: Cannot read property 'length' of undefined
at lib$es6$promise$$internal$$fulfill (/Users/username/WebstormProjects/test-postcss/node_modules/es6-promise/dist/es6-promise.js:303:31)
at lib$es6$promise$$internal$$resolve (/Users/username/WebstormProjects/test-postcss/node_modules/es6-promise/dist/es6-promise.js:285:9)
at lib$es6$promise$$internal$$invokeCallback (/Users/username/WebstormProjects/test-postcss/node_modules/es6-promise/dist/es6-promise.js:396:9)
at /Users/username/WebstormProjects/test-postcss/node_modules/es6-promise/dist/es6-promise.js:166:11
at lib$es6$promise$asap$$flush (/Users/username/WebstormProjects/test-postcss/node_modules/es6-promise/dist/es6-promise.js:119:9)
at doNTCallback0 (node.js:407:9)
at process._tickCallback (node.js:336:13)
at Function.Module.runMain (module.js:477:11)
at startup (node.js:117:18)
at node.js:951:3
I got Gruntfile like this:
Everything works as expected.
But, if i put
grunt-karma
load aftergrunt-postcss
i got exception:What's wrong here?
My
package.json