angular-google-signin icon indicating copy to clipboard operation
angular-google-signin copied to clipboard

Unable to build for production because of the component.

Open shah-smit opened this issue 7 years ago β€’ 20 comments

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.

shah-smit avatar Jul 27 '17 05:07 shah-smit

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

bmarechal avatar Aug 03 '17 10:08 bmarechal

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

shah-smit avatar Aug 03 '17 15:08 shah-smit

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).

miltador avatar Aug 03 '17 15:08 miltador

Thanks @miltador Appreciate it😌

shah-smit avatar Aug 03 '17 15:08 shah-smit

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

bmarechal avatar Aug 04 '17 11:08 bmarechal

@bmarechal Happy to help. @miltador Any update?

shah-smit avatar Aug 10 '17 15:08 shah-smit

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

shooby83 avatar Aug 31 '17 16:08 shooby83

Any updates on this please?

m47een avatar Oct 13 '17 10:10 m47een

Yes please, need this :-)

bmarechal avatar Oct 13 '17 10:10 bmarechal

@miltador any update for coming? Thanks.

fabrizziocht avatar Nov 21 '17 13:11 fabrizziocht

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

maxeber avatar Dec 19 '17 23:12 maxeber

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

miltador avatar Dec 22 '17 09:12 miltador

+1

VynZh avatar Dec 22 '17 14:12 VynZh

+1

gogson avatar Jan 08 '18 17:01 gogson

Any update on this ?

gogson avatar Feb 15 '18 08:02 gogson

+1

PierreRoudaut avatar Apr 05 '18 14:04 PierreRoudaut

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

Cris87 avatar Jun 06 '18 17:06 Cris87

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

bmarechal avatar Jun 06 '18 20:06 bmarechal

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

PierreRoudaut avatar Jun 07 '18 08:06 PierreRoudaut

@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 πŸ‘

Cris87 avatar Jun 08 '18 10:06 Cris87