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

Angular 4 migration #14

Open
bboyz269 opened this issue Dec 13, 2017 · 1 comment
Open

Angular 4 migration #14

bboyz269 opened this issue Dec 13, 2017 · 1 comment

Comments

@bboyz269
Copy link

I have problem importing module in my angular 4 project. Will there be a migration soon?
Thanks a lot!

@ChandanPadalkar
Copy link

ChandanPadalkar commented Jan 3, 2018

I am not sure what's issue you are facing. I have faced following issue:

ERROR in Error: GaugesModule is not an NgModule

The issue is in following line, which is mentioned in doc:
import {GaugesModule} from 'ng-canvas-gauges/lib';

instead of that we have to use following:
import {GaugesModule} from 'ng-canvas-gauges/src';

bcoz @NgModule tag is available in "index.ts" which is inside "src" folder and not in the "lib" folder.

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

2 participants