Hi @ismcagdas,
I have set all External login providers to "True" but I still can't see any icon on login page :?
Hi @ismcagdas,
I see. I have disabled multi-tenancy for my application. In this case, how can I use external providers?
Hi @ismcagdas,
I cleaned the solution and rebuilt again. Still no success.
Hi,
I have enabled Google authentication by updating appsettings.json in Host project as follows:
"Google": {
"IsEnabled": "True",
"ClientId": "--MY Client Id----",
"ClientSecret": "--MY Client Password----"
},
But on frontend, I can't see any external login provider button. On checking in console, I see that this.loginService.externalLoginProviders in login.component.ts is
[]
Hi @BBakerMMC,
Yeah, we always have the freedom to remove all the unnecessary packages to improve the build time. I think I have to stick with the current setup until all the dependencies of my project are frozen. Once my project gets in beta, I'll strip down all unwanted packages :)
Thanks.
Hi,
In my scenario, I don't want to show default popup box showing Exception message. I have written my code in error handler to show error in a different way. How can I disable default error box in one specific scenario?
Hi @BBakerMMC,
That's the problem right there. It should not take 7-10 minutes to make a build!
AspNetZero 4.6 took only 4 minutes to install and build packages. Now it has significantly increased to ~11 minutes to do the same things. Also, I see that 1044 chunk files are produced in the build.
Hi @ismcagdas,
I see that running "ng build --prod" is taking a lot of time. For me, on Azure it takes ~6-10 minutes which is too damn high! Can you suggest some way to reduce this build time?
Hi @ismcagdas,
yarn build runs "ng build --prod --no-aot"
Hi @ismcagdas,
I checked yarn logs but it is not printing installed packages information in the console. Here are complete yarn installlogs:
2017-12-01T13:30:31.5473480Z ##[section]Starting: Yarn Install
2017-12-01T13:30:31.5535220Z ==============================================================================
2017-12-01T13:30:31.5548640Z Task : Command Line
2017-12-01T13:30:31.5563740Z Description : Run a command line with arguments
2017-12-01T13:30:31.5576590Z Version : 1.1.3
2017-12-01T13:30:31.5590600Z Author : Microsoft Corporation
2017-12-01T13:30:31.5604860Z Help : [More Information](https://go.microsoft.com/fwlink/?LinkID=613735)
2017-12-01T13:30:31.5617460Z ==============================================================================
2017-12-01T13:30:31.8352310Z [command]/opt/vsts/work/_tool/yarn/1.3.2/x64/yarn-v1.3.2/bin/yarn
2017-12-01T13:30:33.8253130Z yarn install v1.3.2
2017-12-01T13:30:34.0928290Z [1/4] Resolving packages...
2017-12-01T13:30:34.9367270Z [2/4] Fetching packages...
2017-12-01T13:30:34.9431890Z warning Pattern ["esprima-fb@~3001.0001.0000-dev-harmony-fb"] is trying to unpack in the same destination "/usr/local/share/.cache/yarn/v1/npm-esprima-fb-3001.1.0-dev-harmony-fb-b77d37abcd38ea0b77426bb8bc2922ce6b426411" as pattern ["esprima-fb@~3001.1.0-dev-harmony-fb"]. This could result in a non deterministic behavior, skipping.
2017-12-01T13:30:47.8762470Z warning [email protected]: Unable to read "./man" directory of module "json2"
2017-12-01T13:30:47.9948740Z warning [email protected]: Unable to read "./man" directory of module "joosex-simplerequest"
2017-12-01T13:30:48.7314710Z warning [email protected]: Unable to read "./man" directory of module "joose"
2017-12-01T13:30:48.7687110Z warning [email protected]: Unable to read "./man" directory of module "joosex-namespace-depended"
2017-12-01T13:31:21.8878930Z info [email protected]: The platform "linux" is incompatible with this module.
2017-12-01T13:31:21.8907180Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2017-12-01T13:31:21.9064700Z [3/4] Linking dependencies...
2017-12-01T13:31:21.9246540Z warning " > [email protected]" has incorrect peer dependency "bootstrap@^3.1.1".
2017-12-01T13:31:21.9280750Z warning " > [email protected]" has incorrect peer dependency "[email protected]".
2017-12-01T13:31:21.9308410Z warning " > [email protected]" has incorrect peer dependency "bootstrap@^3.3".
2017-12-01T13:31:21.9340190Z warning " > [email protected]" has incorrect peer dependency "moment-timezone@^0.4.0".
2017-12-01T13:31:21.9365700Z warning "js-url > [email protected]" has unmet peer dependency "grunt@>=0.4.0".
2017-12-01T13:31:21.9394360Z warning " > [email protected]" has incorrect peer dependency "@angular/core@^2.4.2".
2017-12-01T13:31:21.9418790Z warning " > [email protected]" has incorrect peer dependency "@angular/core@^2.4.2".
2017-12-01T13:31:21.9486270Z warning " > [email protected]" has unmet peer dependency "npm@>=3.10.8".
2017-12-01T13:32:17.0806650Z [4/4] Building fresh packages...
2017-12-01T13:32:54.7818580Z Done in 140.97s.
2017-12-01T13:32:54.9075290Z ##[section]Finishing: Yarn Install