We are moving our forum in GitHub Discussions. For questions about Phalcon v3/v4 you can visit here and for Phalcon v5 here.

phalcon dev tool generate module error

dear phalcon forum,

i have problem when create module using phalcon devtools

Error: Builder doesn't know where is the modules directory.

step to reproduce :

  1. create project using command

phalcon project lacus --type=modules

  1. change directory to lacus

cd lacus

  1. create module

phalcon module kira

then error


Is your Phalcon version equal to your dev tools version?


use latest version phalcon latest binary build for windows x86 3.2.2 dev tool latest pull from github 3.2.3

I ran into this problem today. Adding --output did the trick:

create module modulename --output="app/modules"