这里详细描述问题
composer create-project workerman/webman
执行上方命令时会报错
Cannot access non-public member Composer\DownLoader\TransportException::$code
composer create-project workerman/webman
Cannot access non-public member Composer\DownLoader\TransportException::$code
是你这个目录composer没有创建文件夹权限
我也遇到了楼主,请问你解决了吗
很奇怪,我把composer.lock删了重新再执行就好了