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

ERROR in LightboxModule is not an NgModule #9

Closed
farooq-asarstrategies opened this issue May 19, 2017 · 11 comments
Closed

ERROR in LightboxModule is not an NgModule #9

farooq-asarstrategies opened this issue May 19, 2017 · 11 comments

Comments

@farooq-asarstrategies
Copy link

farooq-asarstrategies commented May 19, 2017

When i start server it give me this error "ERROR in LightboxModule is not an NgModule"
it work fine after i make some changes and code recompiles

@themyth92
Copy link
Owner

Hi can i ask which changes you make ? And also do you use systemjs or webpack ?

@farooq-asarstrategies
Copy link
Author

farooq-asarstrategies commented May 22, 2017

i am using webpack angular cli. no changes. just installed using npm

@themyth92
Copy link
Owner

themyth92 commented May 22, 2017

So it is not working right ? If u use angular-cli ? Just to confirm so I can see what I can do ?

@farooq-asarstrategies
Copy link
Author

farooq-asarstrategies commented May 22, 2017

i get this error "ERROR in LightboxModule is not an NgModule"
after server starts. once i change any file (after recompiles) this error goes away and works ok.

how can i resolve this issue ? @themyth92
see this for reference
https://ibb.co/mn6WHa

@thecfguy
Copy link

lol.. I spent almost an hour due to this issue and surprisingly goes away on next compile as @farooq-asarstrategies said.

@farooq-asarstrategies
Copy link
Author

@themyth92 still facing the same issue. any possible fix for this ?

@themyth92
Copy link
Owner

Sorry I need to figure out what's wrong with angular-cli. There are some issues about it online but I am not sure abt the solution yet.

@themyth92
Copy link
Owner

All PRs welcome

themyth92 added a commit that referenced this issue May 24, 2017
themyth92 added a commit that referenced this issue May 24, 2017
@themyth92
Copy link
Owner

Hi, please pull the latest version 1.1.2 on npm. Hopefully this problem can be fixed.

@farooq-asarstrategies
Copy link
Author

@themyth92 Thanks . working perfect.

@themyth92
Copy link
Owner

Ok cool, close issue now :)

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

3 participants