Quantcast
Channel: vs-code editor for yaml says expecting a map but found a sequence - Stack Overflow
Browsing all 5 articles
Browse latest View live

Answer by JPinkney for vs-code editor for yaml says expecting a map but found...

VSCode-YAML pulls in JSON schemas from http://schemastore.org/json/ and tries to associate schemas with yaml files so that you can have hover, auto completion, validation without any configuration on...

View Article



Answer by flyx for vs-code editor for yaml says expecting a map but found a...

Well the Readme of that extension says: with built-in Kubernetes and Kedge syntax support. So chances are the extension tries to validate your YAML file against a Kubernetes or Kedge schema, which...

View Article

vs-code editor for yaml says expecting a map but found a sequence

i'm editing a main.yml in an ansible role's tasks folder. i'm using the YAML vscode extension by Red Hat. Here's the first part of the file... # Install Packages - name: Install the Kafka Broker...

View Article

Answer by MinhTC for vs-code editor for yaml says expecting a map but found a...

The cause of this issue is that the ansible extension (https://marketplace.visualstudio.com/items?itemName=vscoss.vscode-ansible) doesn't recognize the given file as its supported item. To get rid of...

View Article

Answer by Jehad Nasser for vs-code editor for yaml says expecting a map but...

Go to File >> preferences >> settingsthen in the top-right corner click open settings(json) icon.Then add this inside the settings' json:"files.associations": {"**/*.yml": "yaml"}

View Article

Browsing all 5 articles
Browse latest View live




Latest Images