dvajs / dva

🌱 React and redux based, lightweight and elm-style framework. (Inspired by elm and choo)
https://dvajs.com/
MIT License
16.23k stars 3.17k forks source link

install后出错 帮忙看下为啥 #369

Closed zengxiaozeng closed 7 years ago

zengxiaozeng commented 7 years ago

ysfs smr0xmb ph2k 0a6ek

zengxiaozeng commented 7 years ago

除了最后一个小例子 其它的案例应该都有报这样的错误

sorrycc commented 7 years ago

在 dva 目录也要 npm install

zengxiaozeng commented 7 years ago

感谢你的回复 安装完后提示没有lib这个文件
rsy242i3 iab87 4 kyi

sorrycc commented 7 years ago

npm run build 试试。

zengxiaozeng commented 7 years ago

谢谢 但是还是报一样的错 构建不了啊

sorrycc commented 7 years ago

那帮不上忙了,windows 下没试过是否可以。

zhangxueru commented 7 years ago

报这个错,不知道什么意思,这个GLOBAL是什么?请问……

@ start D:\bbb\dva-master\examples\user-dashboard dora --plugins "proxy,webpack,webpack-hmr,browser-history?index=/src/index.html"

      proxy: load rule from proxy.config.js

(node:3128) DeprecationWarning: 'GLOBAL' is deprecated, use 'global' proxy: listened on 8989 Caught exception: Error: listen EADDRINUSE :::8989 at Object.exports._errnoException (util.js:1022:11) at exports._exceptionWithHostPort (util.js:1045:20) at Server._listen2 (net.js:1262:14) at listen (net.js:1298:10) at Server.listen (net.js:1376:9) at D:\bbb\dva-master\examples\user-dashboard\node_modules.3.8.4@dora-anyproxy\proxy.js:125:38 at D:\bbb\dva-master\examples\user-dashboard\node_modules.0.9.2@async\lib\async.js:607:21 at D:\bbb\dva-master\examples\user-dashboard\node_modules.0.9.2@async\lib\async.js:246:17 at iterate (D:\bbb\dva-master\examples\user-dashboard\node_modules.0.9.2@async\lib\async.js:146:13) at D:\bbb\dva-master\examples\user-dashboard\node_modules.0.9.2@async\lib\async.js:157:25 AnyProxy is about to exit with code: 0

sorrycc commented 7 years ago

Error: listen EADDRINUSE :::8989

端口被占用了。