Skip to content
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

'No such file or directory' when remove 'thadafinser/package-info' from composer #1

Open
m-tymchyk opened this issue Feb 20, 2017 · 4 comments

Comments

@m-tymchyk
Copy link

[ErrorException]
file_get_contents(<path to project>/vendor/thadafinser/package-info/src/PackageTemplate.tpl): failed to open stream: No such file or directory
@m-tymchyk m-tymchyk changed the title 'No such file or directory' when remove PackageInfo from composer 'No such file or directory' when remove 'thadafinser/package-info' from composer Feb 20, 2017
@ThaDafinser
Copy link
Owner

ThaDafinser commented Feb 20, 2017

@m-tymchyk how did you installed this package? Did you used composer? Custom directory?

@m-tymchyk
Copy link
Author

m-tymchyk commented Feb 20, 2017

To install this package, I used native "require".
Actually I have installed thadafinser/user-agent-parser, that require thadafinser/package-info.
After a while I removed the dependence thadafinser/user-agent-parser from composer.json and launched composer update, where I was got exception.

Step to reproduce:

  1. Install thadafinser/package-info by composer require thadafinser/package-info
  2. Remove thadafinser/package-info from composer.json
  3. Lunch composer update
  4. ...
  5. Profit!

@ThaDafinser
Copy link
Owner

@m-tymchyk this seems to be an composer issue, dunno if we can really fix it here
composer/composer#5236

@tdsereno
Copy link

I have the same error here, I removed the thadafinser/user-agent-parser dependency as it no longer receives updates and does not support php8.

Interestingly, after running git reset --hard and running composer install again the command ran successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants