composer / semver

Semantic versioning utilities with the addition of version constraints parsing and checking.
MIT License
3.15k stars 76 forks source link

Magento 2 Upgrade Error :: Class Not Found -> Composer\Semver\VersionParser #61

Closed Jeeva-Rathinam closed 6 years ago

Jeeva-Rathinam commented 6 years ago

I am try to upgrade 2.0.0 to 2.1.7.

Installation Guide : https://www.mgt-commerce.com/tutorial/how-to-upgrade-magento2-with-composer

As regard installation guide 6th step getting stuck.

Fatal error: Class 'Composer\Semver\VersionParser' not found in C:\wamp\www\gta\ vendor\composer\composer\src\Composer\Package\Version\VersionParser.php on line 17

My VersionParser.php file : https://justpaste.it/5x351

How can i solve this error.