When I install cakephp app on my machine but i got error as follows Please let me know

[UnexpectedValueException]
Could not parse version constraint my_test: Invalid version string "my_test
"

Please i have reinstall all settings but couldn’t resolved. Please
I have used ubuntu mate 32- bit system

This happens when you’re running composer? What version of PHP are you using? What version of composer? What command are you using to install CakePHP? Where is this my_test string coming from?

1 Like

I’m running into the same issue. I followed the installation instructions for composer. Then I used the command found on the website to install the composer package," composer create-project –prefer-dist cakephp/app my_app_name"

Then I get the error, “Could not parse version constraint my_app_name: Invalid version string “my_app_name””

This worked for me last week but now it seems broken. Do I need to pass a new argument to the composer command for version?

Also the installation web page seems broken where they give the composer command. Perhaps there is maintenance going on with the composer package?

I figured it out… the installation page has an error. use the command:
composer create-project --prefer-dist cakephp/app my_app_name

The command on the web site has messed up ‘–’.

Hope this helps!

1 Like

Thank You for replying post. Their was some memory related issue. That was solved.