GithubHelp home page GithubHelp logo

Comments (6)

jonathanKingston avatar jonathanKingston commented on May 5, 2024

This isn't really a bug as such.... to use them you need to clone the code rather then install it.
You need to use the cloned code by an example.
Then you will need to cd to meteor/dev_bundle/lib/ then you can use your npm install commands here.
To use in your app you will have to use this clone to run the server.

from meteor.

antoviaque avatar antoviaque commented on May 5, 2024

Yep, that's what I ended up doing, but this is far from optimal - it's a lot of mingling to simply add an extra node module. Plus, it requires to keep two different repositories in sync (app + meteor clone).

Would it be possible to simply have meteor load/bundle extra modules when they are placed in the ./node_modules/ directory?

from meteor.

jonathanKingston avatar jonathanKingston commented on May 5, 2024

If node lets you add additional paths then I don't see why not.
Line 489 in /meteor/app/lib/bundler.js might be a good place to start to add that functionality

from meteor.

jonathanKingston avatar jonathanKingston commented on May 5, 2024

Oh and you would have to remove that path from it being rendered also, see line 68 in /meteor/app/server/server.js... do similar to the favicon functionality

from meteor.

antoviaque avatar antoviaque commented on May 5, 2024

Thanks! I'll have a look and see what I can do.

from meteor.

avital avatar avital commented on May 5, 2024

We're working on a comprehensive plan for third-party modules.

from meteor.

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.