(12-14-2020, 07:04 PM)kenjis Wrote: CodeIgniter 4.0.4 does not have `make:controller`.
You need to update it to development version.
$ php builds development
OK, so I wrote php builds development and it seemed to work. I then put my command down with make:controller and got a brand new error
Code:
Warning: require(C:\Users\krut\game.store\app\Config/../../vendor/codeigniter4/codeigniter4/system/bootstrap.php): failed to open stream: No such file or directory in C:\Users\krut\game.store\spark on line 44
Fatal error: require(): Failed opening required '[drive]:\Users\[user]\game.store\app\Config/../../vendor/codeigniter4/codeigniter4/system/bootstrap.php' (include_path='.;C:\php\pear')
in [drive]:\Users\[user]\game.store\spark on line 44
I changed the path in paths php because there was codeigniter4 two times instead of framework but now I got back to the very same error
Code:
Command "make:controller" not found.
--------------------------------------------------
edit:
OK, I installed git and composer again and put a token instead of deleting composer.lock. It's working. No idea if git could be the reason for the errors but well, seems something was wrong with installation anyway. Thanks guys for your help!