Giter VIP home page Giter VIP logo

Comments (1)

dlwicksell avatar dlwicksell commented on June 15, 2024

Yes, newer versions of Node.js are not compatible with modules built with older versions. The Nodem module is currently built with Node.js version 0.8.23. It seems that if I build the module with a newer Node.js version, that module will still work with older versions (as long as they are 0.6.x or newer). I have no idea if that will continue to be the case.

I have tried building the module with 0.10.4, but so far have not had success. I know what the issues are, but haven't taken the time to solve them yet. I will keep working on that, and when I get that working, I'll test to see if that module will also work with 0.8.x and 0.6.x, which would be ideal. That way I can just ship two binary modules for all versions, one for 32-bit, and one for 64-bit.

So you have two options right now. You can just use Nodem with Node.js version 0.8.x or 0.6.x, which should work fine. Or you can try building the module from source. That is easy to do, if the development files are all properly installed and set up on your system, which for some reason they don't seem to be for 0.10.x on my development machine. To build from source, change to the nodem/resources/ directory, and run this command:

node-gyp configure build

This command will create the module in the directory build/Release/ as mumps.node. Then you just move this new mumps.node file to nodem/lib/. You will need to have node-gyp installed, of course. To install node-gyp, you can run:

sudo npm -g install node-gyp

You may need to install npm first. It should be in the repositories of whatever Linux distribution you use, so install it from there. Hopefully this helps, and soon I should have a pre-built module binary that will work with 0.10.x versions of Node.js.

from nodem.

Related Issues (15)

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.