-
Notifications
You must be signed in to change notification settings - Fork 40
AoT v0.5.1 Module node_modules/angular2-logger/core has no exported member LOG_LOGGER_PROVIDERS #101
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
Comments
What is AoT? |
Gotcha, do you mind sharing an example with your issue reproduceable? |
I've worked around it via:
then inside my NgModule:
basically, manually doing what the LOG_LOGGER_PROVIDERS does |
Looks like https://github.com/Stabzs/Angular2-Toaster just went 2.0.0 and is now fully AoT and UMD. Might be an idea to borrow how they have done things :) |
I'm getting a related error trying to build an AoT optimized app:
I'm new to AoT, but here are some AoT Do's and Don'ts: Doing what Phil did above bypassed the issue! |
@vkniazeu Thanks for the feedback, I'm working on this issue atm, trying to find a way for both configurations to work. |
AoT doesn't seem to like:
import { Logger, LOG_LOGGER_PROVIDERS } from 'angular2-logger/core';
Errors with:
Angular 2.3.1
Typescript 2.0.10
The text was updated successfully, but these errors were encountered: