What if you remove the spaces?
composer require --dev barryvdh / laravel-ide-helper
to
composer require --dev barryvdh/laravel-ide-helper
?
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello there, I am having a problem while trying to install an ide-helper.
"composer require --dev barryvdh / laravel-ide-helper"
When I run this command, the error I get is as follows;
Plugin initialization failed (include (/home/vagrant/Projects_Laravel/sanalpos/vendor/composer/package-versions-deprecated/src/PackageVersions/Installer.php): Failed to open stream: No such file or directory), uninstalling plugin
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
[RuntimeException] Could not delete / home / vagrant / Projects_Laravel / virtualpos / vendor / composer / package-versions-deprecated / src:
Please or to participate in this conversation.