miltador / angular-google-signin

Google Sign-In component for Angular written in TypeScript
BSD 3-Clause "New" or "Revised" License
21 stars 10 forks source link

Unable to build for production because of the component. #24

Open shah-smit opened 7 years ago

shah-smit commented 7 years ago

I am trying to run `ng build -prod``` and it is throwing below error.

screen shot 2017-07-27 at 1 11 46 pm

Any lead will be helpful.

bmarechal commented 7 years ago

+1, and same thing with "ng build -aot"

shah-smit commented 7 years ago

Can you try ng build -prod --aot=false and because its working for me.

miltador commented 7 years ago

Hi guys. Haven't looked at this repo for a while. AOT won't work because this library has to be compiled with ngc and published with .metadata.json files. Will do this ASAP (in a few days).

shah-smit commented 7 years ago

Thanks @miltador Appreciate it😌

bmarechal commented 7 years ago

@shah-smit , Yup, it worked, thanks. @miltador thanks

shah-smit commented 7 years ago

@bmarechal Happy to help. @miltador Any update?

shooby83 commented 7 years ago

@miltador Need this with AOT compilation as well! Thanks for your work!

m47een commented 7 years ago

Any updates on this please?

bmarechal commented 7 years ago

Yes please, need this :-)

fabrizziocht commented 6 years ago

@miltador any update for coming? Thanks.

maxeber commented 6 years ago

@miltador I'd really appreciate any update if it is coming or not. Thanks a lot!

miltador commented 6 years ago

Hi! I will look into it this weekend, bare with me!

VynZh commented 6 years ago

+1

gogson commented 6 years ago

+1

gogson commented 6 years ago

Any update on this ?

PierreRoudaut commented 6 years ago

+1

Cris87 commented 6 years ago

Are there any work arounds for this? As of Angular 6 the --aot=false no longer works:

The `--build-optimizer` option cannot be used without `--aot`.Error: The `--build-optimizer` option cannot be used without `--aot`.

Thanks

bmarechal commented 6 years ago

@Cris87 Nein, still on the same state. Thinking about switching here... @miltador any update ?

PierreRoudaut commented 6 years ago

@Cris87 I had to set the --build-optimizer and the --aot to false to make it work.

Cris87 commented 6 years ago

@bmarechal I'm a bit worried too, it's close to a year after the issue was originally reported but it would be a shame because it was really easy to set up and use @PierreRoudaut thank you so much πŸ‘