Skip to content

Brand new repo - enum issue on pre-build #115

@Swader

Description

@Swader

Getting this error on a fresh clone of the starter, running mint dev.

mint dev
🚨 Invalid docs.json:
#.contextual.options[5]: Invalid type. Field did not match any types in union
  1:
    #.contextual.options[5]: Invalid enum value. Expected 'copy' | 'view' | 'chatgpt' | 'claude' | 'perplexity', received 'mcp'
  2:
    #.contextual.options[5]: Invalid type. Expected field to be of type 'object', received 'string'
#.contextual.options[6]: Invalid type. Field did not match any types in union
  1:
    #.contextual.options[6]: Invalid enum value. Expected 'copy' | 'view' | 'chatgpt' | 'claude' | 'perplexity', received 'cursor'
  2:
    #.contextual.options[6]: Invalid type. Expected field to be of type 'object', received 'string'
#.contextual.options[7]: Invalid type. Field did not match any types in union
  1:
    #.contextual.options[7]: Invalid enum value. Expected 'copy' | 'view' | 'chatgpt' | 'claude' | 'perplexity', received 'vscode'
  2:
    #.contextual.options[7]: Invalid type. Expected field to be of type 'object', received 'string'
error prebuild step failed

Removing these values from docs.json makes it work.

Metadata

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