其他分享
首页 > 其他分享> > laradock的workspace下使用composer创建指定版本的laravel

laradock的workspace下使用composer创建指定版本的laravel

作者:互联网

-- 创建laravel 8

composer create-project laravel/laravel:^8.0 example-app

 

报错:

COMPOSER_AUTH" does not match the expected JSON schema, this may result in errors and should be resolved:
- Boolean value found, but an object is required

 

在/var/www下执行 echo $COMPOSER_AUTH 返回 false

 

解决:

export COMPOSER_AUTH=
composer update -- 可以忽略此步骤

 

参考资料

https://github.com/laradock/laradock/issues/3189

标签:laravel,composer,--,AUTH,COMPOSER,workspace,laradock
来源: https://www.cnblogs.com/jamstack/p/16124754.html