Failed to install Yii2 with "composer create-project"

I am trying to create new Yii2 project according to this instruction.

I am trying to run composer create-project --prefer-dist --stability=dev yiisoft/yii2-app-basic basic and I am getting an error

                                                                                                                                                                            
  [Composer\Downloader\TransportException]                                                                                                                                  
  The "https://cdn.asset-packagist.org/p/provider-latest/7fbdc91b4d5caa771ab80101361d66bd13080ea5b353feb72daecfe4cb8b1d05.json" file could not be downloaded (HTTP/2 404 )  
                                                                                                                                                                           

Why?

I have the same issue for all my yii project, on all servers

composer update

Loading composer repositories with package information

In CurlDownloader.php line 668:
                                                                                                                                                                            
  The "https://cdn.asset-packagist.org/p/provider-latest/7fbdc91b4d5caa771ab80101361d66bd13080ea5b353feb72daecfe4cb8b1d05.json" file could not be downloaded (HTTP/2 404 )

This was an issue, was getting
Problem 1
- Root composer.json requires yiisoft/yii2 ~2.0.45 → satisfiable by yiisoft/yii2[2.0.49.x-dev, 2.0.52, 2.0.53, 2.0.x-dev (alias of dev-master)].

adding this to the yaml fixes it
“yidas/yii2-bower-asset”: “~2.0.0”

This is global issue