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: Cannot convert null to object #324

Closed
dcousens opened this issue Sep 30, 2016 · 3 comments
Closed

TypeError: Cannot convert null to object #324

dcousens opened this issue Sep 30, 2016 · 3 comments
Assignees
Labels

Comments

@dcousens
Copy link

Just noticed the following error at the end of one of my node 0.10 builds.

/home/travis/build/dcousens/typeforce/node_modules/tape/lib/test.js:449
        if (!isEnumerable(err, 'message') || !has(err, 'message')) {
             ^
TypeError: Cannot convert null to object
    at propertyIsEnumerable (native)
    at Test.throws (/home/travis/build/dcousens/typeforce/node_modules/tape/lib/test.js:449:14)
    at Test.bound [as throws] (/home/travis/build/dcousens/typeforce/node_modules/tape/lib/test.js:65:32)
    at Test.<anonymous> (/home/travis/build/dcousens/typeforce/test/index.js:39:7)
    at Test.bound [as _cb] (/home/travis/build/dcousens/typeforce/node_modules/tape/lib/test.js:65:32)
    at Test.run (/home/travis/build/dcousens/typeforce/node_modules/tape/lib/test.js:84:10)
    at Test.bound [as run] (/home/travis/build/dcousens/typeforce/node_modules/tape/lib/test.js:65:32)
    at Object.next [as _onImmediate] (/home/travis/build/dcousens/typeforce/node_modules/tape/lib/results.js:71:15)
@ljharb
Copy link
Collaborator

ljharb commented Sep 30, 2016

crap, thanks, will fix

@ljharb ljharb closed this as completed in ae7fec6 Sep 30, 2016
@ljharb ljharb added the bug label Sep 30, 2016
@ljharb ljharb self-assigned this Sep 30, 2016
@dcousens
Copy link
Author

dcousens commented Oct 1, 2016

Interesting, does that mean I threw a null? D:

@ljharb
Copy link
Collaborator

ljharb commented Oct 1, 2016

Yep, that is what it means

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