They have moved around a lot of testing dependencies in recent betas.  For 
instance I now get the same:
  app/ng2test.spec.ts (8, 32): Property 'toBe' does not exist on type 
'NgMatchers'.
in my tests, which used to compile fine. Does the output still work?

Eric


On Monday, February 15, 2016 at 5:13:59 AM UTC-5, Zsolt Kovács wrote:
>
> Hi
>
> I have followed the instructions to use the master branch, generated a new 
> app (ng2test) and executed `ng serve` and I have got the errors bellow. I 
> am using windows 7. I assume that this should work out of the box, and I 
> could not figure out what is wrong with my setup.
>
> Thanks,
>
> Zsolt
>
> ```
> Error: [DiffingTSCompiler]: Typescript found the following errors:
>   app/ng2test.spec.ts (8, 32): Property 'toBe' does not exist on type 
> 'NgMatchers'.
>   app/ng2test.spec.ts (13, 35): Property 'toBe' does not exist on type 
> 'NgMatchers'.
>   app/ng2test.spec.ts (14, 37): Property 'toBe' does not exist on type 
> 'NgMatchers'.
>   node_modules/angular2/src/core/change_detection/parser/locals.d.ts (3, 
> 14): Cannot find name 'Map'.
>   node_modules/angular2/src/core/change_detection/parser/locals.d.ts (4, 
> 42): Cannot find name 'Map'.
>   node_modules/angular2/src/core/debug/debug_node.d.ts (14, 13): Cannot 
> find name 'Map'.
>   node_modules/angular2/src/core/debug/debug_node.d.ts (24, 17): Cannot 
> find name 'Map'.
>   node_modules/angular2/src/core/debug/debug_node.d.ts (25, 17): Cannot 
> find name 'Map'.
>   node_modules/angular2/src/core/di/provider.d.ts (436, 103): Cannot find 
> name 'Map'.
>   node_modules/angular2/src/core/di/provider.d.ts (436, 135): Cannot find 
> name 'Map'.
>   node_modules/angular2/src/core/render/api.d.ts (13, 13): Cannot find 
> name 'Map'.
>   node_modules/angular2/src/core/render/api.d.ts (14, 84): Cannot find 
> name 'Map'.
>   node_modules/angular2/src/facade/collection.d.ts (1, 25): Cannot find 
> name 'MapConstructor'.
>   node_modules/angular2/src/facade/collection.d.ts (2, 25): Cannot find 
> name 'SetConstructor'.
>   node_modules/angular2/src/facade/collection.d.ts (4, 27): Cannot find 
> name 'Map'.
>   node_modules/angular2/src/facade/collection.d.ts (4, 39): Cannot find 
> name 'Map'.
>   node_modules/angular2/src/facade/collection.d.ts (7, 9): Cannot find 
> name 'Map'.
>   node_modules/angular2/src/facade/collection.d.ts (8, 30): Cannot find 
> name 'Map'.
>   node_modules/angular2/src/facade/collection.d.ts (11, 43): Cannot find 
> name 'Map'.
>   node_modules/angular2/src/facade/collection.d.ts (12, 27): Cannot find 
> name 'Map'.
>   node_modules/angular2/src/facade/collection.d.ts (14, 23): Cannot find 
> name 'Map'.
>   node_modules/angular2/src/facade/collection.d.ts (15, 25): Cannot find 
> name 'Map'.
>   node_modules/angular2/src/facade/collection.d.ts (95, 41): Cannot find 
> name 'Set'.
>   node_modules/angular2/src/facade/collection.d.ts (96, 22): Cannot find 
> name 'Set'.
>   node_modules/angular2/src/facade/collection.d.ts (97, 25): Cannot find 
> name 'Set'.
>   node_modules/angular2/src/facade/lang.d.ts (13, 17): Cannot find name 
> 'Map'.
>   node_modules/angular2/src/facade/lang.d.ts (14, 17): Cannot find name 
> 'Set'.
>   node_modules/angular2/src/facade/lang.d.ts (78, 59): Cannot find name 
> 'Map'.
>   node_modules/angular2/src/facade/promise.d.ts (1, 10): Cannot find name 
> 'Promise'.
>   node_modules/angular2/src/facade/promise.d.ts (3, 14): Cannot find name 
> 'Promise'.
>   node_modules/angular2/src/facade/promise.d.ts (8, 32): Cannot find name 
> 'Promise'.
>   node_modules/angular2/src/facade/promise.d.ts (9, 38): Cannot find name 
> 'Promise'.
>   node_modules/angular2/src/facade/promise.d.ts (10, 35): Cannot find name 
> 'Promise'.
>   node_modules/angular2/src/facade/promise.d.ts (10, 93): Cannot find name 
> 'Promise'.
>   node_modules/angular2/src/facade/promise.d.ts (11, 34): Cannot find name 
> 'Promise'.
>   node_modules/angular2/src/facade/promise.d.ts (12, 32): Cannot find name 
> 'Promise'.
>   node_modules/angular2/src/facade/promise.d.ts (12, 149): Cannot find 
> name 'Promise'.
>   node_modules/angular2/src/facade/promise.d.ts (13, 43): Cannot find name 
> 'Promise'.
>   node_modules/angular2/src/platform/browser/browser_adapter.d.ts (75, 
> 33): Cannot find name 'Map'.
>   node_modules/angular2/src/platform/dom/dom_adapter.d.ts (85, 42): Cannot 
> find name 'Map'.
>   node_modules/angular2/src/testing/matchers.d.ts (4, 37): Cannot find 
> namespace 'jasmine'.
>   node_modules/rxjs/CoreOperators.d.ts (22, 67): Cannot find name 
> 'Promise'.
>   node_modules/rxjs/CoreOperators.d.ts (72, 67): Cannot find name 
> 'Promise'.
>   node_modules/rxjs/CoreOperators.d.ts (77, 31): Cannot find name 
> 'PromiseConstructor'.
>   node_modules/rxjs/CoreOperators.d.ts (77, 54): Cannot find name 
> 'Promise'.
>   node_modules/rxjs/Observable.d.ts (65, 67): Cannot find name 
> 'PromiseConstructor'.
>   node_modules/rxjs/Observable.d.ts (65, 88): Cannot find name 'Promise'.
>   node_modules/rxjs/Observable.d.ts (72, 84): Cannot find name 'Promise'.
>   node_modules/rxjs/Observable.d.ts (77, 38): Cannot find name 'Promise'.
>   node_modules/rxjs/Observable.d.ts (100, 66): Cannot find name 'Promise'.
>   node_modules/rxjs/Observable.d.ts (154, 66): Cannot find name 'Promise'.
>   node_modules/rxjs/Observable.d.ts (159, 31): Cannot find name 
> 'PromiseConstructor'.
>   node_modules/rxjs/Observable.d.ts (159, 54): Cannot find name 'Promise'.
>     at DiffingTSCompiler.doFullBuild 
> (c:\Users\kovax\workspace\ng2test\node_modules\angular-cli\lib\broccoli\broccoli-typescript.js:143:29)
>     at DiffingTSCompiler.rebuild 
> (c:\Users\kovax\workspace\ng2test\node_modules\angular-cli\lib\broccoli\broccoli-typescript.js:72:18)
>     at DiffingPluginWrapper.rebuild 
> (c:\Users\kovax\workspace\ng2test\node_modules\angular-cli\lib\broccoli\diffing-broccoli-plugin.js:86:45)
>     at 
> c:\Users\kovax\workspace\ng2test\node_modules\angular-cli\node_modules\ember-cli\node_modules\broccoli\lib\api_compat.js:42:21
>     at lib$rsvp$$internal$$tryCatch 
> (c:\Users\kovax\workspace\ng2test\node_modules\angular-cli\node_modules\ember-cli\node_modules\rsvp\dist\rsvp.js:1036:16)
>     at lib$rsvp$$internal$$invokeCallback 
> (c:\Users\kovax\workspace\ng2test\node_modules\angular-cli\node_modules\ember-cli\node_modules\rsvp\dist\rsvp.js:1048:17)
>     at 
> c:\Users\kovax\workspace\ng2test\node_modules\angular-cli\node_modules\ember-cli\node_modules\rsvp\dist\rsvp.js:331:11
>     at lib$rsvp$asap$$flush 
> (c:\Users\kovax\workspace\ng2test\node_modules\angular-cli\node_modules\ember-cli\node_modules\rsvp\dist\rsvp.js:1198:9)
>     at nextTickCallbackWith0Args (node.js:433:9)
>     at process._tickCallback (node.js:362:13)
> ```
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to