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
Errors for both serve and test after npm install. Hope well be able to just npm install` and follow the talk from ng-conf! Let me know if any other details are needed.
ng test result in the following error:
18 06 2017 18:34:14.587:ERROR [config]: Error in config file!
{ Error: Cannot find module 'angular-cli/plugins/karma'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at module.exports (C:\programming\github\rxjs-test\karma.conf.js:12:7)
at Object.parseConfig (C:\programming\github\rxjs-test\node_modules\karma\lib\config.js:342:5)
at new Server (C:\programming\github\rxjs-test\node_modules\karma\lib\server.js:56:20)
at Promise (C:\programming\github\rxjs-test\node_modules@angular\cli\tasks\test.js:34:33)
at Class.run (C:\programming\github\rxjs-test\node_modules@angular\cli\tasks\test.js:15:16)
at Class.run (C:\programming\github\rxjs-test\node_modules@angular\cli\commands\test.js:101:25)
at Class.Command.validateAndRun (C:\programming\github\rxjs-test\node_modules@angular\cli\ember-cli\lib\models\command.js:128:15)
at C:\programming\github\rxjs-test\node_modules@angular\cli\ember-cli\lib\cli\cli.js:92:22
at tryCatch (C:\programming\github\rxjs-test\node_modules\rsvp\dist\lib\rsvp-internal.js:216:12)
at invokeCallback (C:\programming\github\rxjs-test\node_modules\rsvp\dist\lib\rsvp-internal.js:231:13)
at C:\programming\github\rxjs-test\node_modules\rsvp\dist\lib\rsvp\then.js:29:16
at flush (C:\programming\github\rxjs-test\node_modules\rsvp\dist\lib\rsvp\asap.js:85:5) code: 'MODULE_NOT_FOUND' }
ng serve result in the following errors:
ERROR in C:/programming/github/rxjs-test/node_modules/@angular/material/typings/dialog/dialog-container.d.ts (2,32): Cannot find module '@angular/animations'.
ERROR in C:/programming/github/rxjs-test/node_modules/@angular/material/typings/menu/menu-animations.d.ts (1,42): Cannot find module '@angular/animations'.
ERROR in C:/programming/github/rxjs-test/node_modules/@angular/material/typings/select/select-animations.d.ts (1,42): Cannot find module '@angular/animations'.
ERROR in C:/programming/github/rxjs-test/node_modules/@angular/material/typings/snack-bar/snack-bar-container.d.ts (2,32): Cannot find module '@angular/animations'.
ERROR in C:/programming/github/rxjs-test/node_modules/@angular/material/typings/tabs/tab-body.d.ts (2,32): Cannot find module '@angular/animations'.
ERROR in C:/programming/github/rxjs-test/node_modules/@angular/material/typings/tooltip/tooltip.d.ts (2,32): Cannot find module '@angular/animations'.
ERROR in C:/programming/github/rxjs-test/src/app/google-vision.service.ts (3,24): Cannot find module './api.key'.
ERROR in C:/programming/github/rxjs-test/src/app/app.module.ts (34,20): Property 'forRoot' does not exist on type 'typeof MaterialModule'.
ERROR in C:/programming/github/rxjs-test/src/app/app.component.spec.ts (6,1): Cannot find name 'describe'.
ERROR in C:/programming/github/rxjs-test/src/app/app.component.spec.ts (7,3): Cannot find name 'beforeEach'.
ERROR in C:/programming/github/rxjs-test/src/app/app.component.spec.ts (16,3): Cannot find name 'it'.
ERROR in C:/programming/github/rxjs-test/src/app/app.component.spec.ts (19,5): Cannot find name 'expect'.
ERROR in C:/programming/github/rxjs-test/src/app/app.component.spec.ts (22,3): Cannot find name 'it'.
ERROR in C:/programming/github/rxjs-test/src/app/app.component.spec.ts (25,5): Cannot find name 'expect'.
ERROR in C:/programming/github/rxjs-test/src/app/app.component.spec.ts (28,3): Cannot find name 'it'.
ERROR in C:/programming/github/rxjs-test/src/app/app.component.spec.ts (32,5): Cannot find name 'expect'.
ERROR in C:/programming/github/rxjs-test/src/app/google-vision.service.spec.ts (5,1): Cannot find name 'describe'.
ERROR in C:/programming/github/rxjs-test/src/app/google-vision.service.spec.ts (6,3): Cannot find name 'beforeEach'.
ERROR in C:/programming/github/rxjs-test/src/app/google-vision.service.spec.ts (12,3): Cannot find name 'it'.
ERROR in C:/programming/github/rxjs-test/src/app/google-vision.service.spec.ts (13,5): Cannot find name 'expect'.
ERROR in C:/programming/github/rxjs-test/src/app/pun-service.service.spec.ts (6,1): Cannot find name 'describe'.
ERROR in C:/programming/github/rxjs-test/src/app/pun-service.service.spec.ts (7,3): Cannot find name 'beforeEach'.
ERROR in C:/programming/github/rxjs-test/src/app/pun-service.service.spec.ts (13,3): Cannot find name 'it'.
ERROR in C:/programming/github/rxjs-test/src/app/pun-service.service.spec.ts (14,5): Cannot find name 'expect'.
ERROR in C:/programming/github/rxjs-test/src/app/speech.service.spec.ts (5,1): Cannot find name 'describe'.
ERROR in C:/programming/github/rxjs-test/src/app/speech.service.spec.ts (6,3): Cannot find name 'beforeEach'.
ERROR in C:/programming/github/rxjs-test/src/app/speech.service.spec.ts (12,3): Cannot find name 'it'.
ERROR in C:/programming/github/rxjs-test/src/app/speech.service.spec.ts (13,5): Cannot find name 'expect'.
ERROR in C:/programming/github/rxjs-test/src/app/dialog-suggestion/dialog-suggestion.component.spec.ts (5,1): Cannot find name 'describe'.
ERROR in C:/programming/github/rxjs-test/src/app/dialog-suggestion/dialog-suggestion.component.spec.ts (9,3): Cannot find name 'beforeEach'.
ERROR in C:/programming/github/rxjs-test/src/app/dialog-suggestion/dialog-suggestion.component.spec.ts (16,3): Cannot find name 'beforeEach'.
ERROR in C:/programming/github/rxjs-test/src/app/dialog-suggestion/dialog-suggestion.component.spec.ts (22,3): Cannot find name 'it'.
ERROR in C:/programming/github/rxjs-test/src/app/dialog-suggestion/dialog-suggestion.component.spec.ts (23,5): Cannot find name 'expect'.
ERROR in C:/programming/github/rxjs-test/src/app/snapshot-camera/snapshot-camera.component.spec.ts (5,1): Cannot find name 'describe'.
ERROR in C:/programming/github/rxjs-test/src/app/snapshot-camera/snapshot-camera.component.spec.ts (9,3): Cannot find name 'beforeEach'.
ERROR in C:/programming/github/rxjs-test/src/app/snapshot-camera/snapshot-camera.component.spec.ts (16,3): Cannot find name 'beforeEach'.
ERROR in C:/programming/github/rxjs-test/src/app/snapshot-camera/snapshot-camera.component.spec.ts (22,3): Cannot find name 'it'.
ERROR in C:/programming/github/rxjs-test/src/app/snapshot-camera/snapshot-camera.component.spec.ts (23,5): Cannot find name 'expect'.
ERROR in .//@angular/material/@angular/material.es5.js
Module not found: Error: Can't resolve '@angular/animations' in 'C:\programming\github\rxjs-test\node_modules@angular\material@angular'
@ .//@angular/material/@angular/material.es5.js 20:0-81
@ ./src/app/app.module.ts
@ ./src/main.ts
@ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts
ERROR in C:/programming/github/rxjs-test/src/app/app.module.ts (34,20): Property 'forRoot' does not exist on type 'typeof MaterialModule'.
The text was updated successfully, but these errors were encountered:
Errors for both serve and test after npm install. Hope we
ll be able to just
npm install` and follow the talk from ng-conf! Let me know if any other details are needed.ng test
result in the following error:18 06 2017 18:34:14.587:ERROR [config]: Error in config file!
{ Error: Cannot find module 'angular-cli/plugins/karma'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at module.exports (C:\programming\github\rxjs-test\karma.conf.js:12:7)
at Object.parseConfig (C:\programming\github\rxjs-test\node_modules\karma\lib\config.js:342:5)
at new Server (C:\programming\github\rxjs-test\node_modules\karma\lib\server.js:56:20)
at Promise (C:\programming\github\rxjs-test\node_modules@angular\cli\tasks\test.js:34:33)
at Class.run (C:\programming\github\rxjs-test\node_modules@angular\cli\tasks\test.js:15:16)
at Class.run (C:\programming\github\rxjs-test\node_modules@angular\cli\commands\test.js:101:25)
at Class.Command.validateAndRun (C:\programming\github\rxjs-test\node_modules@angular\cli\ember-cli\lib\models\command.js:128:15)
at C:\programming\github\rxjs-test\node_modules@angular\cli\ember-cli\lib\cli\cli.js:92:22
at tryCatch (C:\programming\github\rxjs-test\node_modules\rsvp\dist\lib\rsvp-internal.js:216:12)
at invokeCallback (C:\programming\github\rxjs-test\node_modules\rsvp\dist\lib\rsvp-internal.js:231:13)
at C:\programming\github\rxjs-test\node_modules\rsvp\dist\lib\rsvp\then.js:29:16
at flush (C:\programming\github\rxjs-test\node_modules\rsvp\dist\lib\rsvp\asap.js:85:5) code: 'MODULE_NOT_FOUND' }
ng serve
result in the following errors:ERROR in C:/programming/github/rxjs-test/node_modules/@angular/material/typings/dialog/dialog-container.d.ts (2,32): Cannot find module '@angular/animations'.
ERROR in C:/programming/github/rxjs-test/node_modules/@angular/material/typings/menu/menu-animations.d.ts (1,42): Cannot find module '@angular/animations'.
ERROR in C:/programming/github/rxjs-test/node_modules/@angular/material/typings/select/select-animations.d.ts (1,42): Cannot find module '@angular/animations'.
ERROR in C:/programming/github/rxjs-test/node_modules/@angular/material/typings/snack-bar/snack-bar-container.d.ts (2,32): Cannot find module '@angular/animations'.
ERROR in C:/programming/github/rxjs-test/node_modules/@angular/material/typings/tabs/tab-body.d.ts (2,32): Cannot find module '@angular/animations'.
ERROR in C:/programming/github/rxjs-test/node_modules/@angular/material/typings/tooltip/tooltip.d.ts (2,32): Cannot find module '@angular/animations'.
ERROR in C:/programming/github/rxjs-test/src/app/google-vision.service.ts (3,24): Cannot find module './api.key'.
ERROR in C:/programming/github/rxjs-test/src/app/app.module.ts (34,20): Property 'forRoot' does not exist on type 'typeof MaterialModule'.
ERROR in C:/programming/github/rxjs-test/src/app/app.component.spec.ts (6,1): Cannot find name 'describe'.
ERROR in C:/programming/github/rxjs-test/src/app/app.component.spec.ts (7,3): Cannot find name 'beforeEach'.
ERROR in C:/programming/github/rxjs-test/src/app/app.component.spec.ts (16,3): Cannot find name 'it'.
ERROR in C:/programming/github/rxjs-test/src/app/app.component.spec.ts (19,5): Cannot find name 'expect'.
ERROR in C:/programming/github/rxjs-test/src/app/app.component.spec.ts (22,3): Cannot find name 'it'.
ERROR in C:/programming/github/rxjs-test/src/app/app.component.spec.ts (25,5): Cannot find name 'expect'.
ERROR in C:/programming/github/rxjs-test/src/app/app.component.spec.ts (28,3): Cannot find name 'it'.
ERROR in C:/programming/github/rxjs-test/src/app/app.component.spec.ts (32,5): Cannot find name 'expect'.
ERROR in C:/programming/github/rxjs-test/src/app/google-vision.service.spec.ts (5,1): Cannot find name 'describe'.
ERROR in C:/programming/github/rxjs-test/src/app/google-vision.service.spec.ts (6,3): Cannot find name 'beforeEach'.
ERROR in C:/programming/github/rxjs-test/src/app/google-vision.service.spec.ts (12,3): Cannot find name 'it'.
ERROR in C:/programming/github/rxjs-test/src/app/google-vision.service.spec.ts (13,5): Cannot find name 'expect'.
ERROR in C:/programming/github/rxjs-test/src/app/pun-service.service.spec.ts (6,1): Cannot find name 'describe'.
ERROR in C:/programming/github/rxjs-test/src/app/pun-service.service.spec.ts (7,3): Cannot find name 'beforeEach'.
ERROR in C:/programming/github/rxjs-test/src/app/pun-service.service.spec.ts (13,3): Cannot find name 'it'.
ERROR in C:/programming/github/rxjs-test/src/app/pun-service.service.spec.ts (14,5): Cannot find name 'expect'.
ERROR in C:/programming/github/rxjs-test/src/app/speech.service.spec.ts (5,1): Cannot find name 'describe'.
ERROR in C:/programming/github/rxjs-test/src/app/speech.service.spec.ts (6,3): Cannot find name 'beforeEach'.
ERROR in C:/programming/github/rxjs-test/src/app/speech.service.spec.ts (12,3): Cannot find name 'it'.
ERROR in C:/programming/github/rxjs-test/src/app/speech.service.spec.ts (13,5): Cannot find name 'expect'.
ERROR in C:/programming/github/rxjs-test/src/app/dialog-suggestion/dialog-suggestion.component.spec.ts (5,1): Cannot find name 'describe'.
ERROR in C:/programming/github/rxjs-test/src/app/dialog-suggestion/dialog-suggestion.component.spec.ts (9,3): Cannot find name 'beforeEach'.
ERROR in C:/programming/github/rxjs-test/src/app/dialog-suggestion/dialog-suggestion.component.spec.ts (16,3): Cannot find name 'beforeEach'.
ERROR in C:/programming/github/rxjs-test/src/app/dialog-suggestion/dialog-suggestion.component.spec.ts (22,3): Cannot find name 'it'.
ERROR in C:/programming/github/rxjs-test/src/app/dialog-suggestion/dialog-suggestion.component.spec.ts (23,5): Cannot find name 'expect'.
ERROR in C:/programming/github/rxjs-test/src/app/snapshot-camera/snapshot-camera.component.spec.ts (5,1): Cannot find name 'describe'.
ERROR in C:/programming/github/rxjs-test/src/app/snapshot-camera/snapshot-camera.component.spec.ts (9,3): Cannot find name 'beforeEach'.
ERROR in C:/programming/github/rxjs-test/src/app/snapshot-camera/snapshot-camera.component.spec.ts (16,3): Cannot find name 'beforeEach'.
ERROR in C:/programming/github/rxjs-test/src/app/snapshot-camera/snapshot-camera.component.spec.ts (22,3): Cannot find name 'it'.
ERROR in C:/programming/github/rxjs-test/src/app/snapshot-camera/snapshot-camera.component.spec.ts (23,5): Cannot find name 'expect'.
ERROR in ./
/@angular/material/@angular/material.es5.js/@angular/material/@angular/material.es5.js 20:0-81Module not found: Error: Can't resolve '@angular/animations' in 'C:\programming\github\rxjs-test\node_modules@angular\material@angular'
@ ./
@ ./src/app/app.module.ts
@ ./src/main.ts
@ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts
ERROR in C:/programming/github/rxjs-test/src/app/app.module.ts (34,20): Property 'forRoot' does not exist on type 'typeof MaterialModule'.
The text was updated successfully, but these errors were encountered: