Welcome Guest, Not a member yet? Register   Sign In
make:controller not found
#5

(This post was last modified: 12-15-2020, 03:11 AM by kuska.)

(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 Big Grin

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!
Reply


Messages In This Thread
make:controller not found - by kuska - 12-14-2020, 03:35 AM
RE: make:controller not found - by InsiteFX - 12-14-2020, 12:56 PM
RE: make:controller not found - by kenjis - 12-14-2020, 07:04 PM
RE: make:controller not found - by InsiteFX - 12-14-2020, 09:36 PM
RE: make:controller not found - by kuska - 12-15-2020, 02:26 AM



Theme © iAndrew 2016 - Forum software by © MyBB