Activities of "AkinSabriCam"

@drpdev2

You need to follow these steps :

  • Download Volo.Abp.Identity.AspNetCore package in ProjectName.HttpApi project

  • Define this package in the ProjectNameHttpApiModule class in the ProjectName.HttpApi project. see the example

  • Add this method in ProjectNameHttpApiHostModule class in ProjectName.HttpApi.Host project. see the example

    private void ConfigureUrls(IConfiguration configuration)
    {
        Configure<AppUrlOptions>(options =>
        {
            options.Applications["Angular"].RootUrl = configuration["App:ClientUrl"];
             options.Applications["Angular"].Urls[AccountUrlNames.PasswordReset] = "account/reset-password";
            options.Applications["Angular"].Urls[AccountUrlNames.EmailConfirmation] = "account/email-confirmation";
        });
    }
    

ProjectName.HttpApi.Host project appsettings.json

 {
      "App": {
        "ClientUrl": "http://localhost:4200",
        "CorsOrigins": "https://*.MyProjectName.com,http://localhost:4200"
      }
 }
  • Call this method in ConfigureServices() method in ProjectNameHttpApiHostModule class. see the example

    then you can see the problem is solved

Hi @drpdev2 I can reproduce the problem. We are going to create an issue for that and inform you soon.

Follow these steps:

1. Add this into package.json:

"resolutions": { "@angular/animations": "9.1.4", "@angular/common": "9.1.4", "@angular/compiler": "9.1.4", "@angular/core": "9.1.4", "@angular/forms": "9.1.4", "@angular/platform-browser": "9.1.4", "@angular/platform-browser-dynamic": "9.1.4", "@angular/router": "9.1.4", "@angular/cli": "9.1.4", "@angular/compiler-cli": "9.1.4", "@angular/language-service": "9.1.4" }

2. Delete yarn.lock or package-lock.json 3. run yarn command in terminal

When run "yarn" command in angular projects, I have got this error.

Showing 1 to 4 of 4 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09