cmposer: Warning: The lock file is not up to date with the latest changes in composer.json

Notice: This thread is very old.
pawouk
Member | 172
+
0
-

$ composer create-project nette/web-project project
Installing nette/web-project (v1.0)
 – Installing nette/web-project (v1.0)
Loading from cache

Created project in project
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.
Nothing to install or update
Generating autoload files

Armin Schmidtke
Member | 20
+
0
-

Thats because the specific versions are written in the composer.json, but there are already newer version available.
Just run composer updateand it should be fine. I'll send a pull.