-
Notifications
You must be signed in to change notification settings - Fork 12k
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
AOT Build Errors with "Cannot read property 'transitiveModules' of undefined" #2917
Comments
this seems to be a dependency problem. still investigating though |
@filipesilva could this be another example where a dep of a dep is updating and causing this to break? |
@mprahl try adding "@angular/compiler-cli": "2.1.1" to you dev dependencies and fixing compiler to 2.1.1. that should work for now. |
@deebloo, after
Thanks for the help. Edit: Updated with correct output |
@deebloo @miguelramos I ended up getting it working with specific pinning of the versions.
|
@mprahl nice. you fixed the versions! but the problem seems an update on new angular versions. |
@mprahl i've just tried with your fixed versions and got the same error. |
Interestingly enough, I tried pinning to 2.1.2 as such:
I get the original error when running |
@miguelramos did you delete your "node_modules" folder before doing |
yeap! I'm trying with a different node version now. |
With node v6.7 got the same issue. Even use yarn to lock versions but same error as yours above. |
@miguelramos I just tried it again, and it still worked. Maybe @deebloo has an idea. |
There was just a PR opened that should fix this. In the meantime pinning the versions of angular should work. |
Also the peer dependency warnings shouldnt keep the app from working |
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. |
OS
macOS Sierra
Versions
angular-cli: 1.0.0-beta.18
node: 6.7.0
os: darwin x64
Repro steps
ng new angular2-temp
cd angular2-temp
ng build --aot
The log given by the failure
The text was updated successfully, but these errors were encountered: