New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Removing packages #1234
Comments
Please post a gist of the *full* output of “vagrant destroy && vagrant up”
…--
- Joe Ferguson
JoeFerguson.me
osmihelp.org
On Jul 11, 2019, 03:06 -0500, FFDevelopment ***@***.***>, wrote:
I experienced this issue when I updated from Homestead 8.x to 9.0. In the meanwhile, I also have a fresh and clean Homestead but still experiencing this issue.
Versions
• Vagrant: Vagrant 2.2.5
• Provider: Virtualbox 6.0.8
• Homestead: 9.0.3
Host operating system
Windows 10 1903
Expected behavior
When you remove packages, you will not receive an error message.
Actual behavior
When you remove packages, you get different error messages. When you want to update your Laravel you get the following errors.
Steps to reproduce
Fresh laravel
1. composer create-project --prefer-dist laravel/laravel blog
2. composer require --dev barryvdh/laravel-ide-helper && composer require --dev doctrine/dbal
3. composer remove --dev barryvdh/laravel-ide-helper && composer remove --dev doctrine/dbal
PHP Parse error: syntax error, unexpected ''Barryvdh' => array($vendorDir' (T_ENCAPSED_AND_WHITESPACE), expecting end of file in /home/vagrant/code/laravel/blog/vendor/composer/autoload_namespaces.php on line 13
Parse error: syntax error, unexpected ''Barryvdh' => array($vendorDir' (T_ENCAPSED_AND_WHITESPACE), expecting end of file in /home/vagrant/code/laravel/blog/vendor/composer/autoload_namespaces.php on line 13
4. composer require nunomaduro/phpinsights --dev
5. composer remove nunomaduro/phpinsights --dev
PHP Parse error: syntax error, unexpected ''/ramsey/uuid/src'),' (T_ENCAPSED_AND_WHITESPACE) in /home/vagrant/code/laravel/blog/vendor/composer/autoload_psr4.php on line 67
Parse error: syntax error, unexpected ''/ramsey/uuid/src'),' (T_ENCAPSED_AND_WHITESPACE) in /home/vagrant/code/laravel/blog/vendor/composer/autoload_psr4.php on line 67
Used Laravel
1. composer require --dev barryvdh/laravel-ide-helper && composer require --dev doctrine/dbal
2. composer remove --dev barryvdh/laravel-ide-helper && composer remove --dev doctrine/dbal
PHP Parse error: syntax error, unexpected ''Barryvdh' => array($vendorDir' (T_ENCAPSED_AND_WHITESPACE), expecting end of file in /home/vagrant/code/engageme/www/vendor/composer/autoload_namespaces.php on line 13
Parse error: syntax error, unexpected ''Barryvdh' => array($vendorDir' (T_ENCAPSED_AND_WHITESPACE), expecting end of file in /home/vagrant/code/engageme/www/vendor/composer/autoload_namespaces.php on line 13
3. composer remove nunomaduro/phpinsights --dev
[RuntimeException]
Could not delete /home/vagrant/code/engageme/www/vendor/theseer/fdomdocument/.git/objects/pack/pack-a8df3aab4538c18
686696790caacd15e3b271da4.idx:
Afterwards you can't update or install anything and you have to remove the vendor folder manually. In the next step you have to use composer install --prefer-source
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
The gist looks good. What's the output of |
6.0.8r130520 |
That looks good as well. One last thing to check while I wait of my Vb + Win10 box to update to 1903: Show me the full output of |
|
Ah hah! I believe we've found something. Looks like you didn't destroy the VM before you upgraded. Run the following: cd C:/Users/ferrari/Homestead Open Virtualbox GUI, then destroy each VM and make sure you "delete all files" Run: Reboot your system. Run (once more for good measure): Now you should be good to run |
It didn't helped. I still get the errors from above. |
Let's see another |
|
Windows 10 pro 1903 Here's a full gist of Vagrant up and create project: https://gist.github.com/svpernova09/f1c9a619be368f29b6fc41d4de535441 Adding & removing
|
I have to run homestead in git as an admin, because I use yarn. As an Windows 10 user I would have other issues if I would use npm. |
I experienced this issue when I updated from Homestead 8.x to 9.0. In the meanwhile, I also have a fresh and clean Homestead but still experiencing this issue.
Versions
Host operating system
Windows 10 1903
Expected behavior
When you remove packages, you will not receive an error message.
Actual behavior
When you remove packages, you get different error messages. When you want to update your Laravel you get the following errors.
Steps to reproduce
Fresh laravel
Used Laravel
Afterwards you can't update or install anything and you have to remove the vendor folder manually. In the next step you have to use
composer install --prefer-source
The text was updated successfully, but these errors were encountered: