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

Install composer #60

Open
Doudy opened this issue May 6, 2021 · 1 comment
Open

Install composer #60

Doudy opened this issue May 6, 2021 · 1 comment

Comments

@Doudy
Copy link

Doudy commented May 6, 2021

Hello,

When i try to install composer i have following message
pi@raspberrypi:~/Viessmann-Api $ php composer.phar install
Capture

Installing dependencies from lock file (including require-dev) Verifying lock file contents can be installed on current platform. Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run composer updateorcomposer update . Nothing to install, update or remove
Generating autoload files
[ErrorException]
file_put_contents(/home/pi/Viessmann-Api/vendor/bin/php-parse): failed to open stream: No such file or directory
`

When i do

pi@raspberrypi-182:~/Viessmann-Api $ php composer.phar update
i have
`Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- Root composer.json requires roave/better-reflection dev-3.4.*, found roave/better-reflection[dev-dependabot/composer/doctrine/coding-standard-9.0.0, dev-dependabot/composer/jetbrains/phpstorm-stubs-2021.1, dev-dependabot/composer/vimeo/psalm-4.6.2, dev-dependabot/composer/vimeo/psalm-4.7.1, dev-implement-newInstanceArgs, dev-dependabot/composer/phpstan/phpstan-0.12.80, dev-dependabot/composer/phpstan/phpstan-0.12.85, dev-dependabot/composer/phpunit/phpunit-9.5.4, dev-dependabot/add-v2-config-file, 0.1.0, 1.0.0, 1.0.1, 1.1.0, 1.2.0, 2.0.0, 2.0.1, 2.0.2, 3.0.0, ..., 3.5.0, 4.0.0, ..., 4.13.x-dev] but it does not match the constraint.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
`

same result if I do
php composer.phar update --with-all-dependencies

@thetrueavatar
Copy link
Owner

Do you still have the problem ? I did some change quite recently

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

2 participants