Code Monkey home page Code Monkey logo

Comments (6)

BretFisher avatar BretFisher commented on May 21, 2024

See issue #17 for workaround.

from demeteorizer.

jared201 avatar jared201 commented on May 21, 2024

Thank you!! that worked on Modulus and Nodejitsu but not on Heroku

from demeteorizer.

BretFisher avatar BretFisher commented on May 21, 2024

Heroku may not like the sed command. You might want to check on that.

I now understand this is actually a Meteor issue, or rather a mismatch between how Meteor builds and how Demeteorizer searches for the packages used by Meteor. In Meteor 0.6.4.1 they temporarily relased it with their own fork of the mongo driver, which isn't in npm, and they called it "1.3.7-meteor" with a custom package url. Demeteorizer doesn't know how to deal with that custom package type yet. I'm hoping this will be fixed in Meteor 0.6.5 or 0.7 with them going back to the standard npm package driver. There's a few workarounds mentioned here.

Here's the options I see:

  • roll back to Meteor 0.6.4, and wait for 0.6.5 or version which uses npm mongo driver again
  • get sed working to replace the custom package during build. options could be
    • sed -i.bak s/1.3.7-meteor/1.3.12/ package.json
    • sed -i.bak s/1.3.7-meteor/https:\/\/github.com\/meteor\/node-mongodb-native\/tarball\/20e17040c5eccf3c431788dd281b8099cd2099f8/ package.json
  • fork demeteorizer and submit pull request that handles this issue somehow

from demeteorizer.

BretFisher avatar BretFisher commented on May 21, 2024

@InconceivableDuck you understand best how Demeteorizer searches for built in packages in .meteor. Got any idea on how we could fix this perm within Demeteorizer? I don't even know if .meteor install would have the custom package URL in it for extracting... or if we just have to put in a hack for this particular issue to replace 1.3.7-meteor if found.

from demeteorizer.

InconceivableDuck avatar InconceivableDuck commented on May 21, 2024

The Meteor guys fixed a security whole in the MongoDB node driver. They forked the driver and created a new version called 1.3.7-meteor, which is not available in npm. I'm looking now to see if I can point the dependency to the github repo to install from there instead of npm.

from demeteorizer.

InconceivableDuck avatar InconceivableDuck commented on May 21, 2024

Fixed in 0.2.4 of demeteorizer.

from demeteorizer.

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.