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
Not compatible with Ivy (experimental) #1647
Comments
Unable to reproduce. Could it be that |
I think that's because it's an array with name I just tried again with a brand new project, and it still fails (with beta version 6). I updated the details above. |
ok, try ng new my-proj --enable-ivy
cd my-proj
npm install @agm/core add
|
That is literally exactly what I did in the demo project I linked in the description above. |
Same problem here. |
@paullessing @ramses10 would you like to join Discord so we can discuss this more interactively? |
@doom777 fine for me |
reproduced with build:prod |
I am having the exact same problem. My app is similar to the example that Paul has shared. I get the |
Angular: 8.0.0 Hi, I have the same problem when Ivy is enabled : Works when Ivy is disabled |
By looking at the problem I found 2 related issue in angular and angular-cli package. It seems that the error comes from a librairy that is outside of Check the following comment and issue : angular/angular-cli#14594 (comment) And also this issue : angular/angular#30945 Unfortunately I couldn't make the librairy works with the technique describe in the comment (first link) using : I don't really understand what's going on, but maybe that can help you. |
hmm, perhaps after implementing #1648 it would work. I am not aware of any path-linked libraries in our lib, but we do use unusual packing |
Any updates on this issue? |
same issue here when using latest angular beta and ivy |
after testing, #1634 does fix it so the issue is with our obsolete build system. Hopefully @SebastianM can review and merge the PR |
Any update on this? |
Yes, I am trying to get the author of #1634 to update his PR so that we can merge it in. Hopefully next week. So far, I can't get a response, but if that continues, I'll clone his PR and do it myself. |
@terencehonles can you please update #1634 ? |
Not published to npm? |
Not yet. We don't publish every commit. |
Can you please publish this one, since it could be considered as major one as it offers support for Angular 9/IVY |
@doom777 it could be a good idea to publish since it is a major update and introduces major fix... |
I agree that this must be released ASAP. This library's incompatibility with ivy is one of few issues left preventing us from testing ivy on our mid-scale web app. |
We get responses from contributors like it is not priority. I could argue that and say releasing this so it fixes AOT and Ivy support is somewhat significant. AOT has been for a while and in a couple of months time Angular 9 will be around with (expected) stable Ivy. Personally I see no reason to claim it is exactly 0 priority. Secondly, what's the problem with just running a command and releasing it to npm? It is claimed by a contributor that it may not be stable yet, fine, in which case keeping beta flag makes sense. BUT! Isn't beta suppose to be somewhat a volatile thing? Which means frequent releases are to be expected but what we see is barely one release a month. It might be a good idea to release current version as stable and the one fixing Ivy under beta flag if there are significant worries about its' instability. And remember ~60k people weekly can potentially benefit from a new version ;) Thanks |
I am thinking of copying this repo exactly and releasing it to npm under a different name, so everybody who watches this thread can try it out until they catch up. Anybody else thinking of doing this? |
I'm in. |
We have nothing against you forking and deploying our lib, that's why it's open source. 😄 |
How can I help? Any feature needing test or development? |
@mruknowme please don't do that. @doom777 was starting to do just that before there was more traction on this repo. He's done a lot to help get the ball moving and I understand you're not happy with the pace, but it has gotten better and forking only confuses people rather than having us all work together to try to make things faster. |
Update: I am trying to get this released, unfortunately Sebastian is unreachable and only he can do npm deploys. |
Hey,
saw this thread accidentally. @ephraim where did you send me a messsage?
Maybe my push settings are messed up 😕 I can push a new version when I’m
home. Sorry for the delay!
Ephraim Khantsis <notifications@github.com> schrieb am Mo. 16. Sep. 2019 um
17:06:
… Update: I am trying to get this released, unfortunately Sebastian is
unreachable and only he can do npm deploys.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1647>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AACDGRFLFLAZMJKKVQZUM7DQJ6OHZANCNFSM4HSA7KDQ>
.
|
Hey @SebastianM, sorry, can't remember that I send you a message! Cheers, |
@SebastianM are you referring to @doom777 comment #1647 (comment) ? BTW I also dropped you a message on twitter :D We all understand that you are busy and appreciate you time and efforts to maintain this plugins :) |
Hey! Glad you're around. I always try to reach you on twitter. |
@SebastianM If you're already available, can you update the stackblitz template to use latest AGM version? |
Yeah, sure
Am Mo., 16. Sept. 2019 um 20:20 Uhr schrieb Ephraim Khantsis <
notifications@github.com>:
… @SebastianM <https://github.com/SebastianM> If you're already available,
can you update the stackblitz template to use latest AGM version?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1647>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AACDGRA3WT7CYHW3JSZEMC3QJ7E5PANCNFSM4HSA7KDQ>
.
|
@SebastianM Can you please take a look? |
Looked into this just now, |
Thanks @JoostK, looking forward for a fix soon :) |
So I was able to confirm that ngcc is unable to deal with the way decorators are being emitted since ng-packagr/ng-packagr#1401, released in ng-packagr 5.5.1. This however is still surpising, as the |
No, it was used with 5.4.3 Update: trying with 5.5.1 doesn't help either |
Here's a PR that deals with the way decorators are present in @doom777 how do you know, were you the one that published the release? I don't quite understand how the 1.0.0 release of |
The plugin works perfectly with Angular 9.0.0-next.9 , thank you @JoostK for the awesome job :) |
I finally switched to @angular/google-maps, working great so far :) |
ok, good luck. Keep in mind, it has much fewer features |
Just to add: We are having a very hard time being compatible with angular ivy in 8.0, but in 9.0 it works fine. |
|
Finally found out the issue for my case. ... in module...
... Changed to ...
|
Issue description
When compiling with Ivy, the compilation fails with the following error:
Steps to reproduce and a minimal demo of the problem
I could not create a stackblitz or plunker for this as it is intending to show a compiler failure and I do not know how to demonstrate this.
You can check out https://github.com/paullessing/agm-ivy-demo and attempt to build after running
yarn install
.ng new
@agm/core
and set up the default importtsconfig.app.json
:angular.json
to work around "lazy routes not found":ng serve
Current behavior
Compile fails with error:
(Position 1 in the
imports
array is theAgmCoreModule.forRoot()
)Expected/desired behavior
No compiler failures
angular2 & angular-google-maps version
Other information
Compile works when Ivy is disabled.
May be related to angular/angular#28603 which states that if the
package.json
does not contain atypes
ortypings
property, the module will be excluded from compilation.The text was updated successfully, but these errors were encountered: