Created
July 5, 2018 06:22
-
-
Save rajucs/93177564d7119a70a943cd2e03b06979 to your computer and use it in GitHub Desktop.
How to fix in laravel Warning: The lock file is not up to date with the latest changes in composer.json when install the project locally from gitlab
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading composer repositories with package information | |
Installing dependencies (including require-dev) from lock file | |
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. Run update to update them. | |
Your requirements could not be resolved to an installable set of packages. | |
Problem 1 | |
- Installation request for doctrine/annotations v1.6.0 -> satisfiable by doctrine/annotations[v1.6.0]. | |
- doctrine/annotations v1.6.0 requires php ^7.1 -> your PHP version (7.0.30) does not satisfy that requirement. | |
Problem 2 | |
- Installation request for doctrine/inflector v1.3.0 -> satisfiable by doctrine/inflector[v1.3.0]. | |
- doctrine/inflector v1.3.0 requires php ^7.1 -> your PHP version (7.0.30) does not satisfy that requirement. | |
Problem 3 | |
- Installation request for symfony/event-dispatcher v4.0.9 -> satisfiable by symfony/event-dispatcher[v4.0.9]. | |
- symfony/event-dispatcher v4.0.9 requires php ^7.1.3 -> your PHP version (7.0.30) does not satisfy that requirement. | |
Problem 4 | |
- Installation request for symfony/translation v4.0.9 -> satisfiable by symfony/translation[v4.0.9]. | |
- symfony/translation v4.0.9 requires php ^7.1.3 -> your PHP version (7.0.30) does not satisfy that requirement. | |
Problem 5 | |
- Installation request for doctrine/instantiator 1.1.0 -> satisfiable by doctrine/instantiator[1.1.0]. | |
- doctrine/instantiator 1.1.0 requires php ^7.1 -> your PHP version (7.0.30) does not satisfy that requirement. | |
Problem 6 | |
- Installation request for symfony/yaml v4.0.9 -> satisfiable by symfony/yaml[v4.0.9]. | |
- symfony/yaml v4.0.9 requires php ^7.1.3 -> your PHP version (7.0.30) does not satisfy that requirement. | |
Problem 7 | |
- doctrine/inflector v1.3.0 requires php ^7.1 -> your PHP version (7.0.30) does not satisfy that requirement. | |
- laravel/framework v5.4.36 requires doctrine/inflector ~1.1 -> satisfiable by doctrine/inflector[v1.3.0]. | |
- Installation request for laravel/framework v5.4.36 -> satisfiable by laravel/framework[v5.4.36]. | |
Note: getting this error should i remove json file?or something else? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment