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

ng2 prism Cannot find module 'angular2/core'. #12

Open
ghost opened this issue Apr 23, 2017 · 2 comments
Open

ng2 prism Cannot find module 'angular2/core'. #12

ghost opened this issue Apr 23, 2017 · 2 comments

Comments

@ghost
Copy link

ghost commented Apr 23, 2017

C:/Users/George/Desktop/GitHub/Admin-panel/node_modules/ng2-prism/src/codeblock.component.d.ts (1,67): Cannot find module 'angular2/core'.

@ghost
Copy link
Author

ghost commented Apr 23, 2017

i have this error how i can fix this

@isaacdre
Copy link

Looks like ng2-prism hasn't been updated since the pre-release candidate days of angular 2...

Angular core is no longer referenced as angular2/core but rather angular/core.

So the options seem to be... use a pre-rc version of angular core... (Boooooooo!) OR update this github to be compatible with newer versions of angular+ (Oh boy...).

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