npm testを実行するとEACCESSエラーが出る。
> npm test (ノಠ益ಠ)ノ彡┻━┻ Error: listen EACCES: permission denied 0.0.0.0:9001 at Server.setupListenHandle [as _listen2] @ net.js:1292:21 at listenInCluster @ net.js:1357:12 at Server.listen @ net.js:1445:7 at new WebSocketServer @ node_modules\ws\lib\websocket-server.js:74:20 @ src\lib\Server.ts:82:17 at new Promise @ anonymous at Server.start @ src\lib\Server.ts:73:11 @ src\lib\executors\Node.ts:361:15 at new e @ node_modules\@theintern\common\index.js:16:5068 @ src\lib\executors\Node.ts:350:53
これは該当ポートに対してアクセスができないというエラーである。原因としては管理者権限がないなどもあるかもしれないが、まず確認すべきは9001が使われていないかということ。
すでにGithubではIssueとして報告されている。
https://github.com/theintern/intern-tutorial/issues/49
原因はIntel Driver Graphic softwareが9001を利用しているためです。このサービスを無効にすればよい。netstat -aonで確認すると確かに9001がListenされている。
Process IDの4はTask ManagerではSystemとしか記述されていない。