一个初始化的 create-react-app 框架,在 App.js 中引入了 antd,除此之外其他什么都没干,编译之后就报错。大家有遇到这种情况的吗?
Compiled with warnings.
     1 
                    
                    GDC      2020-05-01 20:49:49 +08:00 via iPhone 
                    
                    一直在 cra 里用 antd 没遇过你说的情况 
                 | 
            
     2 
                    
                    worldtongfb      2020-05-01 21:54:59 +08:00 
                    
                    我也卡这里了,应该是某个组件引入 moment 然后配置不对把 
                 | 
            
     3 
                    
                    Keanuo   OP @worldtongfb 对,去 package-lock.json 里把 moment.js 的版本锁在 2.24.0 就好了 
                 | 
            
     4 
                    
                    worldtongfb      2020-05-01 22:26:28 +08:00 
                    
                    @Keanuo #3 嗯 可以了 谢谢 
                 |