typeerror cannot read property 'prototype' of undefined
dkumaraguru opened this issue · 4 comments
dkumaraguru commented
build-with-tests:
[echo] build and test
[exec] Loading "grunt-karma.js" tasks...ERROR
[exec] >> TypeError: Cannot read property 'prototype' of undefined
[exec]
[exec] Running "bower-install:app" (bower-install) task
[exec]
[exec] angular-i18n was not injected in your file.
[exec] Please go take a look in "app/bower_components/angular-i18n" for the file you need, then manually include it in your file.
[exec]
[exec] pdfjs-viewer was not injected in your file.
[exec] Please go take a look in "app/bower_components/pdfjs-viewer" for the file you need, then manually include it in your file.
[exec]
[exec] Running "bower-install:metadata" (bower-install) task
[exec]
[exec] angular-i18n was not injected in your file.
[exec] Please go take a look in "app/bower_components/angular-i18n" for the file you need, then manually include it in your file.
[exec]
[exec] pdfjs-viewer was not injected in your file.
[exec] Please go take a look in "app/bower_components/pdfjs-viewer" for the file you need, then manually include it in your file.
[exec]
[exec] Running "clean:staging" (clean) task
[exec] Cleaning .tmp...OK
[exec]
node -v c8.11.4
npm -v 5.6.0
How to resolve the issue
Krinkle commented
@dkumaraguru Hi, thanks for reporting this.
Which versions are you using of grunt-karma
, grunt
and karma
?
dkumaraguru commented
Krinkle commented
@dkumaraguru I'm sorry but I cannot support those versions at the moment.
Can you try again with more recent versions of the software involved?
Specifically:
- grunt: 1.0.0 or later (current: 1.0.3)
- grunt-karma: 2.0.0 or later (current: 3.0.0)
- karma: 2.0.0 or later (current: 3.0.0)
- Node.js: 6 or later (current: 10)
Thanks!
dkumaraguru commented
Thank you, with latest version error is resolved