创建应用时控制台报错,似乎 Laravel-china 服务器上有个文件有问题?
运行安装应用命令composer create-project laravel/laravel sample --prefer-dist "5.5.*"
后控制台出现报错[Composer\Repository\RepositorySecurityException] The contents of https://packagist.laravel-china.org/p/laravel/framework%24b dac4e5015696ca7bdd10ff3911c06648cebabf2844cf59bcff3b25bdeccc73c.json do not match its signature. This could indicate a man-in-the-middle attack or e.g . antivirus software corrupting files. Try running composer again and repor t this if you think it is a mistake.
如何解决?
推荐文章: