Starts in:
1 DAY
21 HRS
46 MIN
14 SEC
Starts in:
1 D
21 H
46 M
14 S
Open Closed

generate-proxy error in Angular frontend #3644


User avatar
0
david.bandinelli.unoinformatica created
  • ABP Framework version: v5.3.0
  • UI type: Angular
  • DB provider: EF Core
    • Tiered (MVC) or Identity Server Separated (Angular): Angular
  • Exception message and stack trace:

ABP CLI version is 5.3.4 (stable)

in package.json: "@abp/ng.schematics": "^5.3.4",

  • Steps to reproduce the issue:"

The command to regenerate the proxy classes for the Angular frontend is no longer working:

abp generate-proxy -t ng -u https://localhost:44368

(with or without the -u option) the output is still the same:

Unknown option: '--url' Unknown option: 'https://localhost:44368'

Please let us know how to resolve this issue because we cannot work any more on our project's front end. This is VERY urgent !

P.S. We tried to downgrade the ABP CLI to several versions; i.e. we tried version 5.1.1 (stable) but as long as we run the following command: abp generate-proxy -t ng

the backend crashes and we get a popup in Visual Studio 2022 saying "Stack overflow". same result with version 5.2.


1 Answer(s)
  • User Avatar
    0
    mahmut.gundogdu created

    Hi, I have tried, and I couldn't produce the issue CLI version 5.3.4. What is your operating system? Could you remove (if it exists) yarn.lock and/or package-lock.json, then install packages again. Could you check the @abp/ng.schematics version with the command yarn why @abp/ng.schematics

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06