? Select the boilerplate type app
? Do you want to use typescript? Yes
? What functionality do you want to enable? antd, dva
events.js:187
throw er; // Unhandled 'error' event
^
TypeError: self.env.emit is not a function
at C:\Users\GZW\node\global\node_modulescreate-umi\node_modules\yeoman-generator\lib\index.js:653:22
at processTicksAndRejections (internal/process/task_queues.js:93:5)
Emitted 'error' event on Generator instance at:
at Immediate.
at processImmediate (internal/timers.js:439:21)
同样遇到了这个问题
同样遇到该问题!
2020-02-28 11:10 啥都没干莫名其妙好使用了。
同样遇到了这个问题
events.js:174
throw er; // Unhandled 'error' event
^
TypeError: self.env.emit is not a function
at /Users/u352443/.npm/_npx/46441/lib/node_modules/create-umi/node_modules/yeoman-generator/lib/index.js:653:22
at process._tickCallback (internal/process/next_tick.js:68:7)
Emitted 'error' event at:
at Immediate.setImmediate (/Users/u352443/.npm/_npx/46441/lib/node_modules/create-umi/node_modules/yeoman-generator/lib/index.js:668:20)
at runCallback (timers.js:705:18)
at tryOnImmediate (timers.js:676:5)
at processImmediate (timers.js:658:5)
同样遇到了这个问题
+1
今天,mac环境下突然遇到了这样的问题
Not only me. Thank for reporting..
me too...
如何复现?
还有吗?
Since the issue was labeled with Need Reproduce, but no response in 3 days. This issue will be closed. If you have any questions, you can comment and reply.
由于该 issue 被标记为需要可复现步骤,却 3 天未收到回应。现关闭 issue,若有任何问题,可评论回复。
Most helpful comment
同样遇到了这个问题