{"action":"closed","issue":{"url":"https://api.github.com/repos/creatale/node-dv/issues/22","labels_url":"https://api.github.com/repos/creatale/node-dv/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/creatale/node-dv/issues/22/comments","events_url":"https://api.github.com/repos/creatale/node-dv/issues/22/events","html_url":"https://github.com/creatale/node-dv/issues/22","id":68948259,"number":22,"title":"Add helper error message if new omitted","user":{"login":"robertkeizer","id":339303,"avatar_url":"https://avatars.githubusercontent.com/u/339303?v=3","gravatar_id":"","url":"https://api.github.com/users/robertkeizer","html_url":"https://github.com/robertkeizer","followers_url":"https://api.github.com/users/robertkeizer/followers","following_url":"https://api.github.com/users/robertkeizer/following{/other_user}","gists_url":"https://api.github.com/users/robertkeizer/gists{/gist_id}","starred_url":"https://api.github.com/users/robertkeizer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertkeizer/subscriptions","organizations_url":"https://api.github.com/users/robertkeizer/orgs","repos_url":"https://api.github.com/users/robertkeizer/repos","events_url":"https://api.github.com/users/robertkeizer/events{/privacy}","received_events_url":"https://api.github.com/users/robertkeizer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-16T15:26:41Z","updated_at":"2015-10-16T15:02:03Z","closed_at":"2015-10-16T15:02:03Z","body":"Spent way to long with the error `Assertion failed: (handle->InternalFieldCount() > 0), function Wrap, file /Users/robertkeizer/.node-gyp/0.12.2/src/node_object_wrap.h, line 77.`.\r\n\r\nStupid mistake on my part, I was doing ` var x = dv.Image( \"png\", fs.readFileSync( \"path/to/file.png\" ) );`, instead of `var x = new dv.Image ...`.\r\n\r\nWould be helpful if the package spit out an error telling people they were being dumb."}}