Composer json error was not allowing to drupal-check and getting error during installation