Lobos/react-example

大哥,你的运行项目的命令是啥?

Closed this issue · 5 comments

大哥,你的运行项目的命令是啥?

Lobos commented
node server.js

你的项目 直接 npm install 为什么会报错啊
Error: EISDIR: illegal operation on a directory, symlink 'E:\react-github\react-example-master\node_modules._classnames@2.2.5@classnames' -> 'E:\react-github\react-example-master\node_modules\classnames'
at Error (native)

Lobos commented

你的npm版本是多少?新建一个空项目,执行一下 npm install classnames 看看,或者参考下这个问题 https://stackoverflow.com/questions/34959038/npm-stuck-giving-the-same-error-eisdir-illegal-operation-on-a-directory-read-a

node server.js后报错
qenya server running on http://localhost:3002
server running on http://localhost:3000
events.js:182
throw er; // Unhandled 'error' event
^

Error: getaddrinfo ENOTFOUND localhost
at errnoException (dns.js:50:10)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:95:26)

Lobos commented

@guanren 看下你的hosts,是不是没有 127.0.0.1 localhost