-
Notifications
You must be signed in to change notification settings - Fork 653
Description
After npm install & bower install,When I run command gulp test or gulp serve, I got this error.
How can I solve this problem ?
ERROR in D:\Git\practice\yo-generator\gulp-angular-app\src\app\components\malarkey\malarkey.directive.spec.ts
(16,138): error TS2503: Cannot find namespace 'angular'.
ERROR in D:\Git\practice\yo-generator\gulp-angular-app\src\app\components\malarkey\malarkey.directive.spec.ts
(17,5): error TS2304: Cannot find name 'spyOn'.
ERROR in D:\Git\practice\yo-generator\gulp-angular-app\src\app\components\malarkey\malarkey.directive.spec.ts
(21,15): error TS2304: Cannot find name 'angular'.
ERROR in D:\Git\practice\yo-generator\gulp-angular-app\src\app\components\malarkey\malarkey.directive.spec.ts
(30,3): error TS2304: Cannot find name 'it'.
ERROR in D:\Git\practice\yo-generator\gulp-angular-app\src\app\components\malarkey\malarkey.directive.spec.ts
(31,5): error TS2304: Cannot find name 'expect'.
ERROR in D:\Git\practice\yo-generator\gulp-angular-app\src\app\components\malarkey\malarkey.directive.spec.ts
(34,3): error TS2304: Cannot find name 'it'.
ERROR in D:\Git\practice\yo-generator\gulp-angular-app\src\app\components\malarkey\malarkey.directive.spec.ts
(35,5): error TS2304: Cannot find name 'expect'.
ERROR in D:\Git\practice\yo-generator\gulp-angular-app\src\app\components\malarkey\malarkey.directive.spec.ts
(35,40): error TS2304: Cannot find name 'jasmine'.