Also ubuntu (and I am guessing mint) do not do a good job of installing composer/npm). Recommend removing those packages and then mimicking this process to bring them in:
Let me post better instructions to this than above, since above are in a docker where user is root
I wonder if you may of done a ācomposer updateā, which may of then tried to increase the doctrine/cache version. If you just stick to ācomposer installā then should be identical to main codebase builds since it is locked via composer.lock file.
That is a bit of a bummer to hear that composer update did this to you, since I was under impression the following in composer.json would avoid issues with php 5.6:
"require" : {
"php" : ">=5.6.0",
Sounds like may need to do official package building and composer updating on ubuntu 16.04 (uses php 7.0) until we become more confident. Any input on this @d3sandoval ?
Iāve never had a good time with composer update. Everytime i do itā¦ bad things happen. I much prefer to use composer install to get the saved dependencies. If something needs to be upgraded I usually:
Delete the composer-lock file
Manually change the composer.json
Run composer install
Verify that only the things Iām changing are what end up getting installed
Sorry I canāt be of my help In some projects, I just remove the composer-lock file altogetherā¦ since itās such a PITA to debug.
hi @d3sandoval and @sunsetsystems ,
I think the change here makes thing a bit safer (ie. ensures that php 5.6 is supported) when we do composer upgrades in the future: