Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find namespace 'angular'. #1180

Open
Mr-LiuDC opened this issue May 25, 2017 · 0 comments
Open

Cannot find namespace 'angular'. #1180

Mr-LiuDC opened this issue May 25, 2017 · 0 comments

Comments

@Mr-LiuDC
Copy link

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'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant