Skip to content

Install composer #60

@Doudy

Description

@Doudy

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions