I'm new to laravel & homestead, im currently trying to create a new project using this command composer create-project --prefer-dist laravel/laravel blog "5.6.*" but i encountered this error
- Removing kylekatarnls/update-helper (1.2.1)
Install of kylekatarnls/update-helper failed
[RuntimeException]
Could not delete /home/vagrant/code/project2/vendor/kylekatarnls/update-helper/src:
when i tried to do so. I have tried solutions given by other post such as
composer global require kylekatarnls/update-helper(this just repeat the errors above)composer install(this just repeat the errors above)composer update --prefer-source(this would run, but it would cause another errorreflectionParameters)composer dump-autoload(same for this one as well)composer install --no-plugins(this one leads to more error for me related toreflectionParameterserrors, so i would like to avoid using that.)
Currenty using laravel 5.6.* and Php version is 7.1.3
try this command is upgrading from version 8.0.0 of the vagrant box to 8.0.1 solved this for me So in the homestead folder run.
vagrant box update