MX widget generator error (directory is not empty)

0
i followed the crash course 11.3.3 “Extending Your UI” and i encounterd a trouble when i make a new directory and run “yo mendix”, then the result is like below. there is nothing in the directory so i don’t know why this said this directory is “not empty”.   when i run the “yo mendix”, there automately created “.yo-repository”. is this the problem? but if i remove that, this is created again when “yo mendix” and i never go over this step.      
asked
3 answers
1

i solved it from https://github.com/mendix/generator-mendix/issues/38

now it works

answered
0

Hi Jisu,

Find here a howto of mendix for pluggable widgets: https://docs.mendix.com/howto/extensibility/create-a-pluggable-widget-one

In the new generator, you should do something like yo @mendix/widget [widgetname]

Hope this helps!

answered
0

Hi Jisu

Please make sure you create a new folder and start the command from within the folder. This folder has to be empty.

Cheers, Andries

answered