You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi everyone.
I'm dealing with the loading of the "grunt-karma" task inside my Gruntfile.js.
Unfortunately I've got an error, please see below.
Loading "grunt-karma.js" tasks...ERROR
TypeError: Cannot promisify an API that has normal methods with 'Async'-suffix
See http://goo.gl/iWrZbw
at checkValid (/Users/my_project/node_modules/karma/node_modules/bluebird/js/main/promisify.js:55:27)
at promisifiableMethods (/Users/my_project/node_modules/karma/node_modules/bluebird/js/main/promisify.js:78:5)
at promisifyAll (/Users/my_project/node_modules/karma/node_modules/bluebird/js/main/promisify.js:241:9)
at Function.Promise.promisifyAll (/Users/my_project/node_modules/karma/node_modules/bluebird/js/main/promisify.js:304:12)
at Object.<anonymous> (/Users/my_project/node_modules/karma/lib/file-list.js:15:18)
......
It works fine till I launch the command "$karma start my_karma_conf.js".
And it works fine with "grunt-karma" if I remove the promise-require inside the karma/lib/file-list.js on line 15.
// var fs = Promise.promisifyAll(require('fs'));
var fs = require('fs');
What's wrong in my configuration?
I'm using:
karma 0.13.5
grunt-karma 0.12.1
Thank you in advise for your support.
The text was updated successfully, but these errors were encountered:
Hi everyone.
I'm dealing with the loading of the "grunt-karma" task inside my Gruntfile.js.
Unfortunately I've got an error, please see below.
It works fine till I launch the command "$karma start my_karma_conf.js".
And it works fine with "grunt-karma" if I remove the promise-require inside the karma/lib/file-list.js on line 15.
// var fs = Promise.promisifyAll(require('fs'));
var fs = require('fs');
What's wrong in my configuration?
I'm using:
karma 0.13.5
grunt-karma 0.12.1
Thank you in advise for your support.
The text was updated successfully, but these errors were encountered: