我最近尝试使用TensorFlow Playground Project并按照其README.md所说的做但未能处理的内容。
这就是我所做的一切:
npm run serve
deep-playground-prototype@2016.3.10 serve C:\Users\Arash\Desktop\AUTUMN16\Computational Intelligence\TensorFlow-Playground
http-server dist/
events.js:141
throw er; // Unhandled 'error' event
^
Error: listen EADDRINUSE 0.0.0.0:8080
at Object.exports._errnoException (util.js:907:11)
at exports._exceptionWithHostPort (util.js:930:20)
at Server._listen2 (net.js:1250:14)
at listen (net.js:1286:10)
at net.js:1395:9
at nextTickCallbackWith3Args (node.js:453:9)
at process._tickCallback (node.js:359:17)
at Function.Module.runMain (module.js:443:11)
at startup (node.js:139:18)
at node.js:974:3
npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "serve"
npm ERR! node v4.5.0
npm ERR! npm v2.15.9
npm ERR! code ELIFECYCLE
npm ERR! deep-playground-prototype@2016.3.10 serve:
http-server dist/
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the deep-playground-prototype@2016.3.10 serve script 'http-server dist/'.
npm ERR! This is most likely a problem with the deep-playground-prototype package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! http-server dist/
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs deep-playground-prototype
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls deep-playground-prototype
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\Arash\Desktop\AUTUMN16\Computational Intelligence\TensorFlow-Playground\npm-debug.log
http-server dist/
现在我觉得它可能与Windows有类似的问题。
我是这类作品的初学者,无法在网上找到可以帮助我解决问题的任何内容。我感谢任何帮助/指导/建议/任何事情!这可以帮助我在解决它方面取得进展。