-
Notifications
You must be signed in to change notification settings - Fork 357
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
ng-xi18n fails(aot support) #149
Comments
Could be related to angular/angular-cli#2814 and angular/angular-cli#2201 |
Some further investigations: The above error results from calling the following in my module:
To "fix" this issue I refactored my code to use an exported function such as:
and using this in imports:
Which brings to me to the next error:
According to(angular/angular#11262) this issue relates to the fact that there is no metadata.json available per module which will be generated by executing the angular compiler with "ngc -p tsconfig.json" instead of using typescript. I tried to play arround with building covalent with ngc instead of typescript but it fails because ngc does not support scss(angular/angular#11815) compilation and it needs to be done beforehand. I am not fully aware of the build process behind covalent but I hope my first investigations give some insights. |
Thanks for the info. We havent done any AoT testing, but its in our radar and roadmap. Ill start researching about what we need to do in the building/publishing process to allow that. Any additional info you can find would be awesome! |
@emoralesb05 This is short summary of getting it up and ready with AOT Support |
Awesome, ill check this articule out since AoT support is needed more and more every day. Thanks! |
Hopefully #209 will resolve this. |
…al AoT support. closes(#149) (#209) * upgrade to angular 2.4.1 and rxjs 5.0.1 * upgrade [email protected] * replaced svgSrc with svgIcon in layouts * register icons from assets into the MdIconRegistry * updated certain layouts and layout docs * fixed svg usage in home, layouts overview and styleguide * updated icon documentation * updated docs with "assets:iconname" * update unit tests with hammerjs * remove usage of depricated md-input infavor of md-input-container (expect in autocomplete) * remove deprecated kabab md directives * replaced portalHost with cdkPortalHost * replaced md-progress-circle with md-progress-spinner * replaced md-sidenav-layout with md-sidenav-container * replaced align with labelPosition in md-checkbox * used labelPosition="before" explicitly now since default is "after" * renamed focus-trap into cdk-focus-trap * make `npm run test` do an ng test with generated code coverage , check linting and run once * clean scss files and themes for future AoT support * updated build.conf.js to move ts files excluding spec and app/ ts files * fixed chart ParseContent enum so its AoT compatible * missed highlight theme file * upgrade to [email protected] * fixed teradata-ux svg * fixed `npm run test` command * update .npmignore with aot files that dont need to be published * changed TS module compilation to es2015 since its needed for tree shaking * initial AoT tsconfig * add `npm run aot` for AoT compilation on platform * script to remove unwanted AoT files from platform publish * updated `npm run buiild` to include AoT process * removed relative path imports from charts and data-table themes * updated published package.json's from core and http modules * fixed stepper unit tests * feature(nav-list): better responsive widths * fix(manage-list): ensure box shadows are correct on desktop * fix(layout-theme): needed class for bg color * fixed bug in layouts where it didnt close the sidenav in some cases * update(material-components): add md-select & updates * removing obsolete validation * use any[] instead of object in select docs * fixed tslint errors * update copy in FAQ * removed the deprecated md-tooltip * spelling/language check * update(material-components): add chips example * update(platform.css): add sidenav * update(material-components): dialogs from material2
Should be fixed in 0.10. |
when do you plan to release this version ? (0.10) this issue is kinda blocker for us |
We are working hard to release asap. Adding more goodies to the release 😄 |
Cool, thanks!
Le jeu. 29 déc. 2016 19:29, Ed Morales <[email protected]> a écrit :
We are working hard to release asap. Adding more goodies to the release 😄
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#149 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAdrXLU0n1rPL-aPu9kUtodk2XP-Gk4tks5rM_wVgaJpZM4Kvx-L>
.
--
------------------------------------------------------------------------------------------------
"Love is all around! Enjoy!"
* HTML* Please read this message with html support enabled
*P*lease don't print this e-mail unless you really need to
|
The typescript version other than 2.0.10 is having an issue with the covalent/core/file/directive/file-drop.directive.ts regarding the type of DOMStringList Argument of type 'string[]' is not assignable to parameter of type 'DOMStringList'. It is probably an issue with typescript which is there in all the higher versions causing an error during the build |
Yep, we are aware if this since angular didnt support |
This repository's issues are reserved for feature requests and bug reports.
Bug Report
What is the expected behavior?
No error
Which version of Angular and Material, and which browser and OS does this issue affect?
OS: Windows 10
Other information
The text was updated successfully, but these errors were encountered: