Module Builder isn't working for me

When ever I try to run yarn && yarn build for custom module I get this error at my command line. I am using botpress-master code and running on windows OS.

I ran yarn && yarn build inside modules/examples


./node_modules/.bin/module-builder build
‘.\node_modules.bin\module-builder’ is not recognized as an internal or externa
l command

Seems like module-builder isn’t present inside .bin folder. Looking for clue please.

Hey @Waleed_Khan!

It seems like you are running yarn && yarn build from the botpress/modules/examples/directory.
You should first run yarn && yarn build from the root project’s directory (botpress/).

So, from the botpress/modules/examples/ directory, just run cd ../.. && yarn && yarn build, and it should work fine.

Hope this helps!