tinymce / generator-tinymce

Yeoman generator for TinyMCE plugins
Other
6 stars 5 forks source link

generator.run is not a function #44

Open hanxiang-li opened 2 months ago

hanxiang-li commented 2 months ago

? Plugin name: xxx ? Plugin description (optional): xxx ? Initialize git repo? No ? What's your name? xxx

! Your plugin must be inside a directory ! with the same name as the plugin: select ! I'll automatically create this directory for you.

Error tinymce generator.run is not a function

hefeng6500 commented 1 month ago

Me too! how to solve this problem?

hanxiang-li commented 1 month ago

Me too! how to solve this problem?

放弃了,使用代码方式编写了

hanxiang-li commented 1 month ago

Me too! how to solve this problem?

I gave up and wrote it in code mode

hefeng6500 commented 1 month ago

Me too! how to solve this problem?

I gave up and wrote it in code mode

npm install -g yo@4.3.1 generator-generator

Solved this problem.

hanxiang-li commented 1 month ago

我也是!如何解决这个问题?

我放弃了,用代码模式写了它

npm install -g yo@4.3.1 generator-generator

解决了这个问题。

Thank you, I will try it later

Shen120 commented 1 month ago

image

this.composeWith it's an asynchronous function, just add wait.

Shen120 commented 1 month ago

我也是!如何解决这个问题?

我放弃了,用代码模式写了它

npm install -g yo@4.3.1 generator-generator

解决了这个问题。

Thank you, I will try it later

https://github.com/tinymce/generator-tinymce/issues/44#issuecomment-2225078969