Open koderjoker opened 2 years ago
Blocked on identical issue. Any progress on a resolution ? @koderjoker did you get any updates ?
@jitghosh hopped on call with the Azure CLI team but weren't able to find the root cause. Tried everything possible recommended here https://github.com/Azure/autorest.az#take-logz-extension-as-a-dry-run. In the end copied the generated code folder from them since generation worked on their system
@jitghosh @koderjoker Tried the solution mentioned in https://github.com/Azure/autorest.az/issues/882 and confirmed it worked. Note there will be further dependency issues, google them and install the right version.
Facing issues while trying to generate Azure CLI code
Repro steps:
Output
As per discussion with the autorest team, the code generator has pinned older versions of @autorest/python version and @autorest/modelerfour, causing such errors.
Forcing it to use the latest versions
breaks its functionality with errors such as
Could someone please help out with this?