Activities of "maharatha@gmail.com"

Answer

I tried everything but I still get the same error. If I delete the generate-proxy.json and try it then deletes the first service and successfully creates the second service.

Please provide a solution to this issue else I am unbale to move forward.

Also the solution you have referred to is 3 years old and I am wondering how come no one else has faced this issue so far.

I then tried to use this method of creating proxies in different folders and that worked :

https://abp.io/support/questions/8679/Generate-angular-proxy-for-microservices

But I don't want this way

Answer

Running abp generate-proxy -t ng gives the same error :

[Invalid Module] Backend module "firstmodule" does not exist in API definition.

Answer

Yes and No. I tried both but the same error.

Below is the environment.ts file :

import { Environment } from '@abp/ng.core';

const baseUrl = 'http://localhost:4200';

const oAuthConfig = {
  issuer: 'http://localhost:44344/',
  redirectUri: baseUrl,
  clientId: 'Angular',
  responseType: 'code',
  scope: 'offline_access openid profile email phone AuthServer IdentityService AdministrationService AuditLoggingService GdprService ChatService SaasService FileManagementService LanguageService FirstService SecondService',
  requireHttps: false,
  impersonation: {
    tenantImpersonation: true,
    userImpersonation: true,
  }
};

export const environment = {
  production: false,
  application: {
    baseUrl,
    name: 'xxxx',
  }, 
  localization: {
    defaultResourceName: 'xxxx'
  },
  oAuthConfig,
  apis: {
    default: {
      url: 'http://localhost:44308',
      rootNamespace: 'xxxx',
    },
    AbpAccountPublic: {
      url: oAuthConfig.issuer,
      rootNamespace: 'AbpAccountPublic',
    },
  },
} as Environment;

Question
  • ABP Framework version: v9.0.2

  • UI Type: Angular

  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

I created 2 Microservice and using the AbpStudio I tried creating proxy for the first microservice and it ran perfectly fine. However when I tried to run the proxy for the second microservice it gives me the below error :;

[Invalid Module] Backend module "myfirstmodulename" does not exist in API definition.

The problem is why its referring to the previous microservice name when I am generating the proxy for the second microservice

Showing 31 to 34 of 34 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on December 12, 2025, 10:36
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.