79559566

Date: 2025-04-07 10:07:21
Score: 2
Natty:
Report link

I have been trying to do this, and getting the same error:

shivamverma@CPC-shiva-J08DD:/mnt/c/users/shivamverma/Desktop/AzureMigrate-IntegrationTests/src/WaveServiceARMClient/Client/v2025-03-30-preview$ autorest --v3 readme.md --version=3.0.6274
AutoRest code generation utility [cli version: 3.7.1; node: v22.14.0]
(C) 2018 Microsoft Corporation.
https://aka.ms/autorest
info    | AutoRest core version selected from configuration: 3.0.6274.
(node:4865) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
   Loading AutoRest core      '/home/shivamverma/.autorest/@[email protected]/nodemodules/@autorest/core/dist' (3.0.6274)
   Loading AutoRest extension '@microsoft.azure/autorest.csharp' (~2.3.79->2.3.102)
   Loading AutoRest extension '@microsoft.azure/autorest.modeler' (2.3.55->2.3.55)
realpath(): Permission denied
realpath(): Permission denied
realpath(): Permission denied
FailFast: Couldn't find a valid ICU package installed on the system. Set the configuration flag System.Globalization.Invariant to true if you want to run with no globalization support.

   at System.Environment.FailFast(System.String)
   at System.Globalization.GlobalizationMode.GetGlobalizationInvariantMode()
   at System.Globalization.GlobalizationMode..cctor()
   at System.Globalization.CultureData.CreateCultureWithInvariantData()
   at System.Globalization.CultureData.get_Invariant()
   at System.Globalization.CultureData.GetCultureData(System.String, Boolean)
   at System.Globalization.CultureInfo.InitializeFromName(System.String, Boolean)
   at System.Globalization.CultureInfo.Init()
   at System.Globalization.CultureInfo..cctor()
   at System.StringComparer..cctor()
   at System.AppDomainSetup.SetCompatibilitySwitches(System.Collections.Generic.IEnumerable`1<System.String>)
   at System.AppDomain.PrepareDataForSetup(System.String, System.AppDomainSetup, System.Security.Policy.Evidence, System.Security.Policy.Evidence, IntPtr, System.String, System.String[], System.String[])
Process() cancelled due to failure

I have also added the export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): getting the same error
  • Low reputation (1):
Posted by: Shivam Verma