关于CRA yarn eject报错的问题

25 阅读1分钟

TypeError: Cannot read property '0' of null

原因是当通过yarn create react-app project-name 时自动添加了git文件夹,导致eject报错了,删了就可以