Code Monkey home page Code Monkey logo

Comments (20)

rgbkrk avatar rgbkrk commented on May 17, 2024 1

@lgeiger has totally demolished this issue - from incredible cross-platform work in zmq-prebuilt, to creating zmq-static, and upstream fixes in zeromq.node.

We even have Windows builds now. 😄 😱

Closing this issue with much appreciation.

from nteract.

max-mapper avatar max-mapper commented on May 17, 2024

I recommend https://github.com/mafintosh/prebuild for the binaries part, it even has a feature to upload the binaries to GitHub Releases for you

from nteract.

rgbkrk avatar rgbkrk commented on May 17, 2024

Awesome. Do you think I should just create a zmq-prebuilt for now, similar to electron-prebuilt?

from nteract.

okdistribute avatar okdistribute commented on May 17, 2024

Seems like a good idea

from nteract.

rgbkrk avatar rgbkrk commented on May 17, 2024

Seems like I'll need Electron support in prebuild: prebuild/prebuild#61

For now I've submitted a PR to zmq relying on node-pre-gyp (JustinTulloss/zeromq.node#486), now that node-pre-gyp supports Electron directly.

from nteract.

captainsafia avatar captainsafia commented on May 17, 2024

I think this can be closed now?

from nteract.

rgbkrk avatar rgbkrk commented on May 17, 2024

Now that zmq-prebuilt exists (though not finished), yes!

from nteract.

rgbkrk avatar rgbkrk commented on May 17, 2024

Re-opening until we fully resolve this for nteract/nteract. We made a release with a built binary for some platforms, yet it requires that you still have zmq headers installed.

from nteract.

jdfreder avatar jdfreder commented on May 17, 2024

😲

from nteract.

rgbkrk avatar rgbkrk commented on May 17, 2024

Current pre-built status:

image

from nteract.

lgeiger avatar lgeiger commented on May 17, 2024

I tested zmq on windows with nteract and can manually reproduce this error.

It turns out zmq has to be built with electron headers on windows even for electron < 1.1.3 to make it work.

from nteract.

rgbkrk avatar rgbkrk commented on May 17, 2024

and so it is, we must trudge these waters of electron builds for the future of all of us

from nteract.

lgeiger avatar lgeiger commented on May 17, 2024

Status on windows:
Still no prebuilts for electron but working if you build from source: #903

from nteract.

lgeiger avatar lgeiger commented on May 17, 2024

@rgbkrk Since the fallback is now working in zmq-prebuilt, what should we do with zmq-static?
I think zmq-prebuilt is now superior in every way.

I didn't expect to get it working at the time of creating zmq-static 😄 .

from nteract.

rgbkrk avatar rgbkrk commented on May 17, 2024

Leave a deprecation notice in zmq-static, pointing to zmq-prebuilt. You apparently stirred a little bit of buzz by creating zmq-static, and if people found that over zmq-prebuilt we should at least do the service of redirecting it.

from nteract.

lgeiger avatar lgeiger commented on May 17, 2024

Great to see some people checking it out! I'll leave a notice.

from nteract.

rgbkrk avatar rgbkrk commented on May 17, 2024

One way to "deprecate" while being backwards compatible is to make zmq-static's index.js be:

module.exports = require('zmq-prebuilt')

(while also noting they should use zmq-prebuilt instead)

from nteract.

lgeiger avatar lgeiger commented on May 17, 2024

I think we can leave it as is for people who really want to keep using VS 2013.

from nteract.

rgbkrk avatar rgbkrk commented on May 17, 2024

Ah, ok, that works.

from nteract.

lock avatar lock commented on May 17, 2024

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

from nteract.

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.