CodeIgniter Forums
[SOLVED] upgrade 4.0.2 to 4.0.3 error - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30)
+--- Thread: [SOLVED] upgrade 4.0.2 to 4.0.3 error (/showthread.php?tid=76405)



[SOLVED] upgrade 4.0.2 to 4.0.3 error - nmaa3003 - 05-10-2020

Hi,

currently my CI version is 4.0.2.

since 4.0.3 already released, i go to my console at project root then run this cmd : composer update

then i noticed the composer remove the codeigniter 4.0.2 in the vendor/ci4/framework folder then created a new folder
codeigniter-standard.

still, my CI remain 4.0.2.

Or i missed some step?

my understanding is whenever new version coming out, i should get a new version in 'vendor/ci4/framework' (just like first setup in documentation)
then i just copy those files into my project root folder.

*UPDATE:
Looks like it happened because i copied whole composer.json file from the vendor/ci4/framework into my project root. as a result, the setting for "codeigniter4/framework": "^4"codeigniter was missing. When i put it back and use composer update, the folder for ci4/framework is coming back with version 4.0.3


RE: upgrade 4.0.2 to 4.0.3 error - seunex - 05-10-2020

Nothing like that on my side o just hit composer update and everything went just fine.