We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Error: This command should be invoked inside a Phalcon project directory

Rakesh, nearly every post you put on here doesn't contain any details. In future please ensure you give as much information as possible!

Lucky for you I know what this problem is, in order for DevTools to work you need to create a folder named ".phalcon" without quotes in the project directory.



27.6k

Hi mam, mkdir: cannot create directory `.phalcon': File exists Above Error I am getting when i try to create a folder

Make sure you don't have a file named ".phalcon", if you do delete it.

Once there is a directory inside your project directory named ".phalcon" the devtools will work.



27.6k

hey thnx Rewt0r