You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After update to latest js-yaml version (4.1.0) inside of our project load-grunt-config some of our users started receiving following 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.
After some investigation looks like the issue is with the following check
if(definitioninstanceofType){
Looks like the possible reason is multiple versions of js-yarn (including old 3.x.x) inside the node_modules, because of different other dependencies. Maybe it could be fixed by adding js-yarn as non-dev dependency inside of js-yaml-js-types, but that is just an idea. Or maybe the check itself should be improved somehow.
Hi guys,
After update to latest
js-yaml
version (4.1.0) inside of our project load-grunt-config some of our users started receiving following error:code that we are using is quite simple:
you can find it here
After some investigation looks like the issue is with the following check
Looks like the possible reason is multiple versions of
js-yarn
(including old 3.x.x) inside thenode_modules
, because of different other dependencies. Maybe it could be fixed by addingjs-yarn
as non-dev dependency inside ofjs-yaml-js-types
, but that is just an idea. Or maybe the check itself should be improved somehow.Could you please help us to resolve this issue?
Some other details:
js-yaml: 4.1.0
js-yaml-js-types: 1.0.0
link to the original issue: firstandthird/load-grunt-config#194
The text was updated successfully, but these errors were encountered: