Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tutorial run causes Error: listen EACCES: permission denied 0.0.0.0.9001 #49

Open
romanguerrero opened this issue Dec 8, 2020 · 3 comments

Comments

@romanguerrero
Copy link

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)

  1. Download Intern.
    npm install --save-dev intern
    Add the following to the "compilerOptions" object in tsconfig.json:
    "types": [
    "intern",
    "systemjs"
    ]
  2. 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" }]
    }
  3. Run 'npm test'

Environment

Intern version: 4.0.0
Node version: v10.16.3
NPM version: 6.14.8
Browser version: Firefox 83.0

@lechelt
Copy link

lechelt commented Feb 9, 2021

Hi,
Unfortunately I am struggeling with the same issue.
How did you solve it?

@romanguerrero
Copy link
Author

@lechelt , I didn't solve it, unfortunately. Reopening because others are having the same issue

@romanguerrero romanguerrero reopened this Feb 9, 2021
@lechelt
Copy link

lechelt commented Feb 10, 2021

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:
eclipse-mosquitto/mosquitto#1580 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants