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 5 months ago

hanxiang-li commented 5 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 5 months ago

Me too! how to solve this problem?

hanxiang-li commented 5 months ago

Me too! how to solve this problem?

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

hanxiang-li commented 5 months ago

Me too! how to solve this problem?

I gave up and wrote it in code mode

hefeng6500 commented 5 months 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 5 months ago

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

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

npm install -g yo@4.3.1 generator-generator

解决了这个问题。

Thank you, I will try it later

Shen120 commented 4 months ago

image

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

Shen120 commented 4 months 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