After 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'