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

Not working with ng-cli and angular4 #1

Closed
saulide opened this issue Jun 22, 2017 · 3 comments
Closed

Not working with ng-cli and angular4 #1

saulide opened this issue Jun 22, 2017 · 3 comments
Labels

Comments

@saulide
Copy link

saulide commented Jun 22, 2017

I get error ERROR in BoundSensorModule is not an NgModule, any ideas?

similar to: angular/angular-cli#3157 ?

@aminpaks
Copy link
Owner

aminpaks commented Jun 22, 2017

I will look into this issue. In meanwhile you can import the Directive instead of using the NgModule like this:

import { BoundSensorDirective } from 'bound-sensor';

@NgModule({
    declarations: [
        (...)
        BoundSensorDirective,
    ],
})
export class MyHomeModule { }

@aminpaks
Copy link
Owner

aminpaks commented Jun 24, 2017

Just pushed a fix [email protected]. Now it should be okay.

@aminpaks aminpaks added the bug label Jun 27, 2017
@aminpaks
Copy link
Owner

aminpaks commented Jul 5, 2017

I'm close this because I believe the issue should be fixed.

@aminpaks aminpaks closed this as completed Jul 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants