-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
#153 introduced compile problems with AOT #191
Comments
I too am having the same error with AOT compiling. Versions affected:
|
I swapped to Node v8.2.1 and upgraded Typescript both locally and globally to v2.4.2 and the error has gone away. |
upgrading node didn't work for me, but downgrading |
I'm running into this as well however can't downgrade to v4.0.0 because of #189. @brandonroberts any guidance on this? |
@victornoel got it working by upgrading Angular to 4.3.x |
Hi there. Just to mention we too are experiencing this error when trying to switch to AOT:
(maybe the second one is a separate thing, related to ngx-bootstrap, but those were the only errors, so posting it just in case). I have no simple repro project to show, this is from the project we're working at. Environment:
Just to specify that in the past we were not able to make AOT work with ngrx 2.x: there was an issue here here never "fixed" and now closed after the v 4.x came out. |
Nope I don't think I did make it work...
For the record, I suspect the problem is caused by the fact ngrx is
compiled with ts 2.4 and the problems appear with lesser version of ts.
Le 11 août 2017 5:49 PM, "Matt Oliver" <notifications@github.com> a écrit :
… @victornoel <https://github.com/victornoel> got it working by upgrading
Angular to 2.4.x
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#191 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAJ0z3GoSzwjJYavTQ1hZFv1N8KfTZp7ks5sXHgEgaJpZM4OjrRg>
.
|
Just in case it helps others, I got it working with:
|
I got a simple repro project about this, BrainCrumbz/ngtools-webpack-demo/, where there's an empty state and a no-op reducer. All it really does related to ngrx is invoking As tracked in this issue, build error went away after upgrading angular (and zone.js). |
I'm gonna close this issue as resolved with the latest packages mentioned above. If it can be reproduced with those packages a new issue can be opened. |
I'm submitting a...
What is the current behavior?
When compiling some projects with #153 and AOT, we get the following error:
Expected behavior:
It should compile fine :)
Minimal reproduction of the problem with instructions:
I couldn't reproduce it on a small repro, but my application is publicly available.
Clone
https://gitlab.com/linagora/petals-cockpit.git
, checkout 201e583230d81cd32821a32c67ffdccd1521d524, run yarn once,yarn run build
Version of affected browser(s),operating system(s), npm, node and ngrx:
node 8, ngrx nightly (7f77693, the one with #153), angular 4.1.3 and angular-cli 1.3.0-rc.0.
The text was updated successfully, but these errors were encountered: