pmg1989 / dva-admin

dva admin antd dashboard
https://pmg1989.github.io
MIT License
284 stars 93 forks source link

项目如何启动的呀 #13

Open dj940212 opened 7 years ago

dj940212 commented 7 years ago

为何我启动项目会报错,是不是还要配置别的环境

pmg1989 commented 7 years ago

npm run dev 或者 yarn run dev,你报什么错误?

dj940212 commented 7 years ago

`D:\GitHub\dva-admin\node_modules_webpack@2.6.1@webpack\lib\Chunk.js:45 throw new Error("Chunk.entry was removed. Use hasRuntime()"); ^

Error: Chunk.entry was removed. Use hasRuntime() ` 报这个错误

pmg1989 commented 7 years ago

感觉像是环境包的问题,重新安装试试呢

dj940212 commented 7 years ago

谢谢,现在可以了,用npm install会报错,用yarn install成功了,可能是依赖版本的兼容问题,再次感谢您抽空回答