aliases.yaml YAMLException
See original GitHub issueAfter upgrading to newest 4.0.0 version when trying to start grunt tasks I get error:
$ grunt
Loading "gruntFile.js" tasks...ERROR
>> YAMLException: Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })
Warning: Task "default" not found. Use --force to continue.
With one of the defined tasks:
$ grunt dev
Loading "gruntFile.js" tasks...ERROR
>> YAMLException: Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })
Warning: Task "dev" not found. Use --force to continue.
After downgrading to version 3.0.2 everything is running smooth.
Node version: 10.16.0
aliases.yaml
definition
default:
- 'newer:less'
- 'newer:babel'
- 'webpack:prod'
- 'watch'
dev:
- 'newer:babel'
- 'webpack:prod'
- 'concurrent:dev'
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:16
Top Results From Across the Web
Number of aliases for non-scalar nodes exceeds the specified ...
org.yaml.snakeyaml.error.YAMLException: Number of aliases for non-scalar nodes exceeds the specified max=50 · Using Jenkins Ask a question.
Read more >Is it possible to nest YAML anchors hierarchically?
I'd like to know if it is possible to 'nest' YAML anchors as I have ... Unfortunately, I get an error YAMLException: unidentified...
Read more >YAML Ain't Markup Language (YAML™) revision 1.2.2
YAML leverages these primitives and adds a simple typing system and aliasing mechanism to form a complete language for serializing any ...
Read more >YAML Examples for Anchors, Aliases, and Overrides | Linode
YAML anchors, aliases, overrides, and extensions help reduce the repetition of data in your YAML files. These features of YAML are discussed ...
Read more >maxAliasesForCollections size - Google Groups
YAMLException : Number of aliases for non-scalar nodes exceeds the specified max=50. at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:147).
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@mbrodala just as a workaround you can try to add
js-yaml@4.1.0
as a dependency in your mainpackage.json
. That is just a crazy idea, but it can do the trick.That works indeed. But using JSON instead of YAML is already a good workaround. 😉