question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Possible breaking changes with Beta.11 and injectAsync?

See original GitHub issue

I’ve bumped my project (with tests based on clicker) to Ionic@Beta.11 - failing here:

05 08 2016 20:15:07.917:ERROR [framework.browserify]: bundle error
05 08 2016 20:15:07.920:ERROR [framework.browserify]: TypeScript error: tests/diExports.ts(3,10): Error TS2305: Module '"/home/chrono/src/governess/governess-app/node_modules/@angular/core/testing"' has no exported member 'injectAsync'.
05 08 2016 20:15:08.144:INFO [karma]: Karma v1.1.0 server started at http://localhost:9876/
05 08 2016 20:15:08.144:INFO [launcher]: Launching browser PhantomJS with unlimited concurrency
05 08 2016 20:15:08.151:INFO [launcher]: Starting browser PhantomJS
05 08 2016 20:15:09.463:INFO [PhantomJS 2.1.1 (Linux 0.0.0)]: Connected on socket /#gKmIrdoZOy1QrbOEAAAA with id 36309521
05 08 2016 20:15:39.471:WARN [PhantomJS 2.1.1 (Linux 0.0.0)]: Disconnected (1 times), because no message in 30000 ms.
PhantomJS 2.1.1 (Linux 0.0.0) ERROR
  Disconnected, because no message in 30000 ms.

Current angular2 docs say that there are no new docs yet but there seem to have been changes.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:14 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
lathonezcommented, Aug 9, 2016

Setting identical providers in diExports sorted it (as above basically). Pushed the commit upgrading to beta.11, RC4 and new forms.

0reactions
chron0commented, Aug 9, 2016

Awesome, thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ionic2 beta 10 ionic form elements do not work with @angular ...
Start a new Ionic app using beta 10; Add the @angular/forms ... Possible breaking changes with Beta.11 and injectAsync? lathonez/clicker#126.
Read more >
Upcoming Changes to Component Testing - Cypress
Conclusion. These are all of the breaking changes coming up in Cypress 11. The majority of test suites should be unaffected, and migration...
Read more >
号外:Angular 4 正式版发布!! - 掘金
BREAKING CHANGES. core: - Because injector.get() is now parameterize it is possible that code which used to work no longer type checks.
Read more >
Angular2版本更新 - X-USER - 博客园
BREAKING CHANGES. Observable are no more re-exported from angular2/core. Before import {Observable} from 'angular2/core'.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found