abp generate-proxy -t ng command is throwing an exception on a macOS (Monterey 12.4) using ABP CLI v5.2.1.

I cannot reproduce it on my windows pc, looks like problem is related to macOS in general or to that concrete mac. Updating abp cli and other npm packages didn't solve the issue.
Any ideas how to fix the problem?
- ABP Framework version: v5.2.1
- UI type: Angular
- DB provider: EF Core
- Node version: 16.15.1
- NPM version: 8.12.0 (have also tried on previous versions)
8 Answer(s)
-
0Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
-
0
Hi,
I did already. It didn't help, new errors appear.
Unknown option: ''andUnknown option: --url. Version 5.2.1 works at least on my windows pc, 5.2.2 is throwing these errors on every machine we've tried.Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Hi,
Try:
abp generate-proxy -t ng -m app -u <Your back-end url.>Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Hi,
We had the problem before https://support.abp.io/QA/Questions/3092/Error-when-trying-to-use-abp-generateproxy--t-ng--m-identity But we fixed it
Maybe ABP CLI can not work on macOS as well, we will check it.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Hi,
We had the problem before https://support.abp.io/QA/Questions/3092/Error-when-trying-to-use-abp-generateproxy--t-ng--m-identity But we fixed it
Maybe ABP CLI can not work on macOS as well, we will check it.
Unknown option issue on version 5.2.2 is appearing on windows PCs too, it is not only mac problem :(
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Hello,
Url parameter for angular proxy generation supported in abp cli 5.2.2 and @abp/ng.schematics package version 5.2.2. But there is a bug in version 5.2.2 which is abp generate-proxy command doesn't work without url parameter. It is fixed in 5.3.0-rc.3 and it will be fixed in version 5.2.3. If you update ABP Cli and @abp/ng.schematics package versions to 5.2.2 or 5.3.0-rc.3 you can pass url parameter.
The error seems related to got library. I found a discussions in rxjs repo and found an issue in got library. We will try to understand cause of this error with observing related library issues. By the way are the node versions same in both machines ? Proxy generation works in Macos Catalina, also we will try in Macos Monterey.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Hello,
Url parameter for angular proxy generation supported in abp cli 5.2.2 and @abp/ng.schematics package version 5.2.2. But there is a bug in version 5.2.2 which is abp generate-proxy command doesn't work without url parameter. It is fixed in 5.3.0-rc.3 and it will be fixed in version 5.2.3. If you update ABP Cli and @abp/ng.schematics package versions to 5.2.2 or 5.3.0-rc.3 you can pass url parameter.
The error seems related to got library. I found a discussions in rxjs repo and found an issue in got library. We will try to understand cause of this error with observing related library issues. By the way are the node versions same in both machines ? Proxy generation works in Macos Catalina, also we will try in Macos Monterey.
Hi.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)


