Closed borgotecnologia closed 7 years ago
Is this from a fresh repo pulldown? I didn't get any errors when running an AoT build. Do you have any code example we can look at? Let me know!
When running ng build, it doesn't return any errors and it works online. However, when running with ng build --prod I get a bunch of errors and it wont work online. WARNING in ./src/$$_gendir/app/users/login/user.login.component.ngfactory.ts 54:27-32 "export 'ɵa' (imported as 'i5') was not found in 'ngx-intl-tel-input'
WARNING in ./src/$$_gendir/app/users/login/user.login.component.ngfactory.ts 54:34-39 "export 'ɵa' (imported as 'i5') was not found in 'ngx-intl-tel-input'
WARNING in ./src/$$_gendir/app/users/login/user.login.component.ngfactory.ts 54:101-106 "export 'ɵa' (imported as 'i5') was not found in 'ngx-intl-tel-input'
WARNING in ./src/$$_gendir/app/users/signup/user.signup.component.ngfactory.ts 115:27-32 "export 'ɵa' (imported as 'i5') was not found in 'ngx-intl-tel-input'
WARNING in ./src/$$_gendir/app/users/signup/user.signup.component.ngfactory.ts 115:34-39 "export 'ɵa' (imported as 'i5') was not found in 'ngx-intl-tel-input'
WARNING in ./src/$$_gendir/app/users/signup/user.signup.component.ngfactory.ts 115:101-106 "export 'ɵa' (imported as 'i5') was not found in 'ngx-intl-tel-input'
WARNING in ./src/$$_gendir/~/ngx-intl-tel-input/ngx-intl-tel-input.ngfactory.ts 206:201-206 "export 'ɵa' (imported as 'i1') was not found in 'ngx-intl-tel-input'
WARNING in ./src/$$_gendir/~/ngx-intl-tel-input/ngx-intl-tel-input.ngfactory.ts 206:208-213 "export 'ɵa' (imported as 'i1') was not found in 'ngx-intl-tel-input'
WARNING in ./src/$$_gendir/~/ngx-intl-tel-input/ngx-intl-tel-input.ngfactory.ts 206:275-280 "export 'ɵa' (imported as 'i1') was not found in 'ngx-intl-tel-input'
Can you check ngx-bootstrap issues, this sounds like something on their end that's breaking lately
I use this repo with the next version of ngx-bootstrap. Try updating your package.json to ^2.0.0-beta.2
I'm having the same problem using .Net Core 2.0 with all the new template stuff (I'm also using "ngx-bootstrap": "^2.0.0-beta.2") Update (9/7/2017) - Ignore the above. This was confusion on my part. I was not using aspnetcore-angular2-universal... that's why I was having the problem. I am now moving my code to use aspnetcore-angular2-universal
Has anyone fixed this. I'm having the same problem
@aecuman are you doing a fresh pull of this repo with the @next version of ngx-bootstrap? What is your error?
I'm sorry. It looks like a webpack problem after webpack --env.prod though i have not fixed the issue
Please note: when I reported that I was having this problem with my code. I should not have been reporting it here. I was not at the time using this library (I am moving my code into this example template now...)
Has anyone solved this issue and if yes how?
Do you have a recent version of the repo? I believe all it takes is removing:
include: ClientApp // just remove this part so it takes in node_modules as well during AoT
from the ts rule in webpack.
@jcphlux
@MarkPieszak Thanks. Removing the 'include: ClientApp' did correct the error. Do you know why this was causing this issue?
Hey @jcphlux, we need to make sure we AoT those files as files as well, by only having include: ClientApp we're ignoring node_modules entirely, which is what caused the issue.
Hope that helps! :)
Anyone have a solution?
I've tried to build aot version with that component:
but there are something wrong, I've received that message:
Whats wrong? Do I need to put anything else in webpack?