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

TypeError: "listener" argument must be a function #438

Closed
fishcharlie opened this issue Apr 13, 2019 · 3 comments
Closed

TypeError: "listener" argument must be a function #438

fishcharlie opened this issue Apr 13, 2019 · 3 comments

Comments

@fishcharlie
Copy link
Contributor

I'm getting a bunch of errors like the following when running npm test

  1) S3rver Class Tests
       should support running on port 0:
     TypeError: "listener" argument must be a function
      at new Server (_http_server.js:269:10)
      at Object.createServer (http.js:34:10)
      at S3rver.listen (lib/s3rver.js:148:8)
      at runAsync (lib/s3rver.js:130:36)
      at <anonymous>
      at process._tickDomainCallback (internal/process/next_tick.js:228:7)
@kherock
Copy link
Collaborator

kherock commented Apr 13, 2019

This looks like it might be solved by #434. Are you running Node < 8.12?

@fishcharlie
Copy link
Contributor Author

@kherock Yes, Node.js 8.10

@kherock
Copy link
Collaborator

kherock commented Apr 17, 2019

This has been fixed in v3.0.3!

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