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 toreflectionParameters
errors, so i would like to avoid using that.)
Currenty using laravel 5.6.*
and Php version is 7.1.3
My Answer:
It seems like the issue is with the kylekatarnls/update-helper package. You can try removing the package from your composer.json file and then running composer update to see if that resolves the issue.
You can do this by opening your composer.json file and removing the line that references kylekatarnls/update-helper.
After removing the line, save the file and run composer update in your terminal. This should update your dependencies without trying to install the problematic package.
If you continue to encounter issues, you may want to consider reaching out to the package maintainer or looking for alternative packages that provide similar functionality.
Rate this post
3 of 5 based on 7879 votesComments