-
Notifications
You must be signed in to change notification settings - Fork 311
AOT issue after upgrade to 2.0.2 #1112
Comments
How can I recreate this? What angular version do you have? Thanks, |
@danbucholtz its 4.1.3
|
Can you try with |
4.0.1 of app-scripts? or you mean angular? |
@danbucholtz ionic-angular 3.5.2 works fine with app-scripts 1.3.12 |
hi, if it can be useful i just upgraded but no issue for me global packages:
local packages:
System:
|
I think this is an Thanks, |
@danbucholtz UPDATE:
|
@danbucholtz so it works fine on ionic serve but after build release i see the same error it works fine with app-scripts 1.3.12. www folder locally has 0.js etc but when it was deployed it doesnt have those files as in the image.. is this how its suppose to be? |
@kodeine , your |
@vkniazeu
|
@kodeine hmm... i'd get that error forgetting to add |
@vkniazeu just updated to |
@vkniazeu i've tried with TS |
This seems like a lock file issue to me. How can I recreate? If this was affecting a lot of apps, believe me, we would have heard about it 😸 . Thanks, |
Give me your email ill allow access to project so you can check it out. |
Can you recreate in a simple project and upload to github? Thanks, |
Its already on github but id prefer to keep project private and give u
access. It would be easier to debug this way all u wud do is compile
|
Okay, cool, you should be able to add my username Thanks, |
Okay give me 1 hr ill go home and add it |
@danbucholtz i've given you permissions on the project. Thanks for everything! |
Any news on this? I'm having the same problem |
I haven't had a chance to look yet. @trebor678, are you doing anything interesting with webpack or anything like that? Thanks, |
@danbucholtz were you able to take a look at the repo i authorized you at? |
Sorry, I haven't had a chance yet. It is surprising because nothing with AOT changed in quite a while. Thanks, |
@danbucholtz i just updated to latest app-scripts and same issue. i'm already pulling off my hair at this point. |
@danbucholtz I re-checked the providers, there doesnt seem to be any problem. I'm super confused. |
Looks like typescript issue. |
Problem is fixed! =) It was a circular dependency issue. After installing https://github.com/aackerman/circular-dependency-plugin i was able to figure out what providers were messing up with circular dependencies. |
@kodeine I am also having this problem, can you explain how you solved it using Circular Dependency Plugin? |
Short description of the problem:
just upgraded ionic-app-scripts and ionic-angular, added
vendor.js
in index as well but now getting error on AOT which wasnt there on < 2.0.2 of app-scripts. non aot builds with ionic serve is fine.Steps to reproduce:
Which @ionic/app-scripts version are you using?
global packages:
local packages:
System:
The text was updated successfully, but these errors were encountered: