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.

Getting Error after Angular 2 RC6 update

See original GitHub issue

Hi - There seems to be some incompatibility with Angular 2 RC6 and NG2-Repsonsive package.

Here is the error that i am getting: index.js:67Uncaught TypeError: core_1.provide is not a function

Its probably because of some of the deprecations such as this one: Instead of PLATFORM_PIPES and PLATFORM_DIRECTIVES, provide platform directives/pipes via an @NgModule.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
hassanasadcommented, Sep 2, 2016

Wow - that was fast - Thanks ManuCutillas 😃

Yeah - the version 0.4.5 works with RC6

1reaction
hassanasadcommented, Sep 2, 2016

I believe some of the changes might just be in this file (as some stuff is deprecated now)

https://github.com/ManuCutillas/ng2-responsive/blob/master/src/index.ts

I am guessing that removing provide and PLATFORM_DIRECTIVES from this line: import { NgModule, provide, PLATFORM_DIRECTIVES } from '@angular/core'; in src/index.ts might be step one 😃

Still pretty new to the world of JS and Angular.

Read more comments on GitHub >

github_iconTop Results From Across the Web

SystemJs error after updating to Angular2 RC6 - Stack Overflow
I updated to RC6 (from RC5) and after using the example systemjs.config.js from angular quickstart I'm receiving the error (SystemJS) ...
Read more >
rc6 update #1938 - angular/angular-cli - GitHub
Hi guys, when we can get rc6 generated project currently it generate rc4 which is quite old. The text was updated successfully, but...
Read more >
Creating A Custom ErrorHandler In Angular 2 RC 6 - Ben Nadel
Ben Nadel uses custom error handling in Angular 2 as a means to explore RC 6 and the use of NgModule as the...
Read more >
Updating Your Angular 2 App From RC4 to RC5
Update your Angular 2 app from RC4 to the new RC5 including the new router RC1 release.
Read more >
angular/angular-cli - Gitter
I am update rc6 in angular cli get error on "Could not serve on http://localhost:4200. It is either in use or you do...
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