Tutorial run causes Error: listen EACCES: permission denied 0.0.0.0.9001
Expected behavior
It should output: No unit test coverage for node node: 0 passed, 0 failed
Current behavior
Error: listen EACCES: permission denied 0.0.0.0:9001
at Server.setupListenHandle [as _listen2] @ net.js:1262:19
at listenInCluster @ net.js:1327:12
at Server.listen @ net.js:1414: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
Steps to reproduce (for bugs)
- Download Intern.
npm install --save-dev intern
Add the following to the "compilerOptions" object in tsconfig.json:
"types": [
"intern",
"systemjs"
] - Configure Intern
Create a intern.json file in the root of project with:
{
"browser": {
"loader": {
"script": "systemjs"
},
"plugins": {
"script": "_dist/src/system.config.js",
"useLoader": true
}
},
"environments": ["node", { "browserName": "chrome" }]
} - Run 'npm test'
Environment
Intern version: 4.0.0
Node version: v10.16.3
NPM version: 6.14.8
Browser version: Firefox 83.0
Hi, Unfortunately I am struggeling with the same issue. How did you solve it?
@lechelt , I didn't solve it, unfortunately. Reopening because others are having the same issue
I found a solution. Another process is blocking the port 9001. In my case it is an Intel Driver Graphic software. Here is a link how to fix this: https://github.com/eclipse/mosquitto/issues/1580#issuecomment-632970949