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

Error following sample code #11

Open
cheahkhing opened this issue Mar 6, 2018 · 1 comment
Open

Error following sample code #11

cheahkhing opened this issue Mar 6, 2018 · 1 comment

Comments

@cheahkhing
Copy link

Hi,

I am trying to use the module following the sample code, but getting the follow error:

**throw new PrimusError('Middleware should be a function that accepts at least 2 args');
^

PrimusError: Middleware should be a function that accepts at least 2 args**

Is this expected?
My environment:
Windows 10
NodeJS: 8.9.3

  • primus 7.1.1
  • primus-responder - 1.0.4

Thanks

@jack828
Copy link

jack828 commented Jun 21, 2018

Hi @cheahkhing If you're still having issues then please follow this issue thread #8.

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