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

Forgetting 'new' keyword causes node to crash #294

Closed
tjlahr opened this issue Jun 17, 2013 · 1 comment
Closed

Forgetting 'new' keyword causes node to crash #294

tjlahr opened this issue Jun 17, 2013 · 1 comment

Comments

@tjlahr
Copy link

tjlahr commented Jun 17, 2013

The following code causes my node repl to crash. While it's up to the developer to remember the 'new' keyword, it would be nice if the library threw a more intelligible error.

var Canvas = require('canvas');
var cvs = Canvas(100, 200);
Assertion failed: (handle->InternalFieldCount() > 0), function Wrap, file ../src/node_object_wrap.h, line 71.
Abort trap: 6
@LinusU
Copy link
Collaborator

LinusU commented Feb 15, 2016

Haha, this is still a problem, I'll fix it now 😆

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