GithubHelp home page GithubHelp logo

Comments (8)

bnoordhuis avatar bnoordhuis commented on August 17, 2024

I just uploaded a new version to npm (1.2.0) that uses node-gyp to build, give it a try. Holler if you still have issues.

from node-iconv.

benoitv-code avatar benoitv-code commented on August 17, 2024

I'll try it then tell you if I still have issues.

However, using NODE_MODULE seems to be a requirement if you want your init function being called when your module is loaded.

PS: thank you for working on this module :)

from node-iconv.

bnoordhuis avatar bnoordhuis commented on August 17, 2024

However, using NODE_MODULE seems to be a requirement if you want your init function being called when your module is loaded.

Preferably, yes. But as a node core maintainer I can assure you that the old init method still works, too. :-)

from node-iconv.

webnard avatar webnard commented on August 17, 2024

I'm getting the error here. Node v. 0.8.16, iconv v. 1.2.4.

from node-iconv.

bnoordhuis avatar bnoordhuis commented on August 17, 2024

@webnard Needs more details. Where and when do you get the assertion? Do you have a test case I can try?

from node-iconv.

webnard avatar webnard commented on August 17, 2024

Here's a test case in the Node console. I'm using Ubuntu 12.10.

> var Iconv  = require('iconv').Iconv;
> var iconv = new Iconv('UTF-8', 'ISO-8859-1');
node: /usr/include/nodejs/node_object_wrap.h:61: void node::ObjectWrap::Wrap(v8::Handle<v8::Object>): Assertion `handle->InternalFieldCount() > 0' failed.
Aborted (core dumped)

from node-iconv.

webnard avatar webnard commented on August 17, 2024

Never mind. Just checked my stack trace—for some reason it was still referencing and older version of Iconv, so I deleted the directory, reinstalled, and now it works again.

from node-iconv.

umurkontaci avatar umurkontaci commented on August 17, 2024

For clarification, I've been getting this recently and updating packages (including Iconv [>= 1.2.3]), solved the issue.

from node-iconv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.