-
Notifications
You must be signed in to change notification settings - Fork 12k
@ngtools/webpack with Angular 5.1.2 and Typescript 2.6.x not working #8983
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
Hello @p3x-robot , did you find a solution to that problem, because im using grunt-webpack with angular 5 and ng/tools 1.10.2 and im still getting the getTsProgram undefined issue, no matter what i did its still there. the only solution i have if to add @ngTools/webpack:1.8.0, but then it distory karma untit tests for conflict in ng/tools libs |
Thanks a lot for your fast replay, i thought you reached another solution, lets give it a try with that hack. |
i created a pull merge but they didnt merge it so i deleted, for now where the problem is i know, and i just use this everywhere, all latest versions are working, right now many people are hackingthis or other, but none told me to work 100%, i tried other solution, for me this hack works alway |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Versions
Node 9.3
NPM 5.6
I do not use
ng
, webpack only with @ngtools/webpack with Grunt.NCU shows these, if I updated all wrong, but with the latest Angular Material 5.0.2 and latest Angular 5.1.2 it work except this:
If I upgrade this, it is tons of errors.
With Angular 5.1.2 and TypeScript 2.5.x and @ngtools/webpack 1.8.0 is working, buy with Typescript 2.6.x and @ngtools/webpack 1.9.2 still not working, The application is too complex to give 10 steps, that's the problems. I just get tons of errors, I have exlucded whole node_modules in the tsconfig.aot.js, but still it is giving an error trying to build the boot.ts, which is excluded, it should only use boot.aot.ts, when that is exlucded (boot.ts), but when with TS 2.5.x and @ngtools/webpack 1.8.0 still working Angular 5.1.2 and latest Angular Material.
Not to mentioned that I have given steps and the observed errors, but they have not helped at all.
The older issue is here: #8525
Old error:
When I add in Material it gets worse (after Angular 5.1.2, with 5.1.1 at least it was only the
getTsProgram
problem, but now it looks like this):I do not even use tempaltes, it is a service.
The text was updated successfully, but these errors were encountered: