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

npm test fails with "TypeError: Cannot read property 'write' of null" #22

Open
aidanharris opened this issue Apr 19, 2017 · 0 comments
Open
Labels

Comments

@aidanharris
Copy link

> node --version
v6.10.2
> libquassel@2.1.9 test /home/aidan/node-libquassel
> tape test/test.js

TAP version 13
# setup
not ok 1 test timed out after 3000ms
  ---
    operator: fail
  ...
not ok 2 plan != count
  ---
    operator: fail
    expected: 3
    actual:   1
  ...
# login
/home/aidan/node-libquassel/lib/libquassel.js:1722
        self.qtsocket.write(obj);
                     ^

TypeError: Cannot read property 'write' of null
    at /home/aidan/node-libquassel/lib/libquassel.js:1722:22
    at Quassel.loginError (/home/aidan/node-libquassel/test/test.js:9:5)
    at Quassel.login (/home/aidan/node-libquassel/lib/libquassel.js:1716:10)
    at Test.<anonymous> (/home/aidan/node-libquassel/test/test.js:37:13)
    at Test.bound [as _cb] (/home/aidan/node-libquassel/node_modules/tape/lib/test.js:66:32)
    at Test.run (/home/aidan/node-libquassel/node_modules/tape/lib/test.js:85:10)
    at Test.bound [as run] (/home/aidan/node-libquassel/node_modules/tape/lib/test.js:66:32)
    at Immediate.next (/home/aidan/node-libquassel/node_modules/tape/lib/results.js:71:15)
    at runCallback (timers.js:666:20)
    at tryOnImmediate (timers.js:639:5)
npm ERR! Test failed.  See above for more details.
@magne4000 magne4000 added the bug label Apr 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants