Skip to content

Profile error ewhen generating Monitor for multiple apis #196

Closed
@markcowl

Description

When generatign this spec:
https://github.com/markcowl/azure-powershell/blob/generation/src/Storage/readme.md

The following error:

PS C:\td\azure-powershell\src\Monitor> autorest
AutoRest code generation utility [version: 3.0.5163; node: v10.15.1]
(C) 2018 Microsoft Corporation.
https://aka.ms/autorest
   Loading AutoRest core      'C:\Users\markcowl\.autorest\@microsoft.azure_autorest-core@3.0.5402\node_modules\@microsoft.azure\autorest-core\dist' (3.0.5402)
   Loading AutoRest extension '@microsoft.azure/autorest.powershell' (beta->2.0.343)
   Loading AutoRest extension '@microsoft.azure/autorest.remodeler' (beta->2.0.211)
   Loading AutoRest extension '@microsoft.azure/autorest.csharp-v2' (beta->2.0.225)
C:\Users\markcowl\.autorest\@microsoft.azure_autorest-core@3.0.5402\node_modules\@microsoft.azure\autorest-core\dist\lib\pipeline\pipeline.js - FAILURE {}
Process() cancelled due to exception : Deduplicator: There's a conflict in profile data. There should be a single path api-version per profile. / Error: Deduplicator: There's a conflict in profile data. There should be a single path api-version per profile.
    at getMergedProfilesMetadata (/node_modules/@microsoft.azure/deduplication/dist/main.js:352:19)
    at Deduplicator.deduplicatePaths (/node_modules/@microsoft.azure/deduplication/dist/main.js:148:40)
    at Deduplicator.init (/node_modules/@microsoft.azure/deduplication/dist/main.js:77:26)
    at Deduplicator.get output [as output] (/node_modules/@microsoft.azure/deduplication/dist/main.js:331:18)
    at deduplicate (C:\Users\markcowl\.autorest\@microsoft.azure_autorest-core@3.0.5402\node_modules\@microsoft.azure\autorest-core\dist\lib\pipeline\plugins\deduplicator.js:15:82)
    at process._tickCallback (internal/process/next_tick.js:68:7)
  Error: Deduplicator: There's a conflict in profile data. There should be a single path api-version per profile.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions