We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 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



13.8k

Is your Phalcon version equal to your dev tools version?



4.5k

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"