Open Closed

Angular generate-proxy root namespace options #6235


User avatar
0
Thiqah.Abp.Dev4 created
  • ABP Framework version: v7.3.2
  • UI Type: Angular

I don't use "environment.ts" and everything is working correctly but when I generate proxy "**abp generate-proxy -t ng --url myApi **" my issue appeared when I generated a proxy without a namespace and I couldn't add options and I tried all "generate-proxy " options [[Root Namespace Not Found] Cannot resolve root namespace for "default" api from "myProjectNameSpace" project.]

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

6 Answer(s)
  • User Avatar
    0
    Anjali_Musmade created
    Support Team Member

    Hello,

    Please make sure that you are running the abp generate-proxy -t ng --url myApi command in the root folder.

    you can check here: https://docs.abp.io/en/abp/latest/UI/Angular/Service-Proxies#service-proxies

    Thanks, Anjali

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    Thiqah.Abp.Dev4 created

    Hello,

    Please make sure that you are running the abp generate-proxy -t ng --url myApi command in the root folder.

    you can check here: https://docs.abp.io/en/abp/latest/UI/Angular/Service-Proxies#service-proxies

    Thanks, Anjali

    Actually i was in root folder

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    Anjali_Musmade created
    Support Team Member

    Hi,

    try to add below code in MyApp\aspnet-core\src\MyaApp.HttpApi.Host\web.config

    thanks

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    -1
    mahmut.gundogdu created

    Hello,

    Please make sure that you are running the abp generate-proxy -t ng --url myApi command in the root folder.

    you can check here: https://docs.abp.io/en/abp/latest/UI/Angular/Service-Proxies#service-proxies

    Thanks,
    Anjali

    Actually i was in root folder

    Abp generate-proxy -t ng wrapped@abp/ng.schematics schematic packages. when you use @abp/ng.schematics you can spesify where is the extract path. that parameter is entryPoint. Probably the parameter works with abp generate-proxy. you can read paramters of generate proxies

    https://docs.abp.io/en/abp/8.0/UI/Angular/Service-Proxies#parameters-of-generate-proxy

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    Thiqah.Abp.Dev4 created

    Hi,

    try to add below code in MyApp\aspnet-core\src\MyaApp.HttpApi.Host\web.config

    thanks

    i wanna just edit from frontend

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    -1
    liangshiwei created
    Fullstack Developer

    Hi,

    Is this document helpful to you? https://docs.abp.io/en/abp/latest/CLI#options-6

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
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.8.0-preview. Updated on September 24, 2026, 12:09
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.