Giter VIP home page Giter VIP logo

Comments (6)

lorensr avatar lorensr commented on August 24, 2024 1

I think we'll be deprecating in favor of npm. If your package isn't
published there yet, you can copy or symlink the individual files you need
from .meteor/local/bower/* to eg vendor/*

On Tuesday, March 29, 2016, Marcos Cuevas [email protected] wrote:

Same here. After upgrading to Meteor 1.3 All the packages installed using
meteor-bower are not available. In my case most of them are modules for
angular and this is the message:

Error: [$injector:modulerr] Failed to instantiate module ngCordova due to:
Error: [$injector:nomod] Module 'ngCordova' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.

If I remove the ngCordova injector from app.ng.js then the error message
is the following bower package

Error: [$injector:modulerr] Failed to instantiate module jett.ionic.filter.bar due to:
Error: [$injector:nomod] Module 'jett.ionic.filter.bar' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.

Not sure if the problem is related to another bower issue that provokes
that "ignoredDependencies" does not work correctly and makes angular load
twice...

โ€”
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#113 (comment)

from meteor-bower.

mquandalle avatar mquandalle commented on August 24, 2024 1

Meteor 1.3 has a new build-in method to load JavaScript packages in your Meteor app, and it uses NPM. Because of that we have decided to deprecate this bower package. The build-in loader is way more robust (and officially supported by MDG) than this package.

Since the Meteor bundling system changed significantly I think we wonโ€™t work on a version of this package to support Meteor 1.3. That means that you will have to replace bower packages by NPM ones as part of the migration process from 1.2 to 1.3. If you donโ€™t want to do that migration today, you could continue to use meteor-bower on Meteor 1.2 as of today.

from meteor-bower.

marcoscuevas avatar marcoscuevas commented on August 24, 2024

Same here. After upgrading to Meteor 1.3 All the packages installed using meteor-bower are not available. In my case most of them are modules for angular and this is the message:

Error: [$injector:modulerr] Failed to instantiate module ngCordova due to:
Error: [$injector:nomod] Module 'ngCordova' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.

If I remove the ngCordova injector from app.ng.js then the error message is the following bower package

Error: [$injector:modulerr] Failed to instantiate module jett.ionic.filter.bar due to:
Error: [$injector:nomod] Module 'jett.ionic.filter.bar' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.

Not sure if the problem is related to another bower issue that provokes that "ignoredDependencies" does not work correctly and makes angular load twice...

from meteor-bower.

marcoscuevas avatar marcoscuevas commented on August 24, 2024

Sorry @lorensr, I don't understand your answer and sorry again if I remake the question but I am using meteor-bower to install client side angular modules like ngCordova, angular-translate, etc.

After updating Meteor from 1.2.1 to 1.3 my app stopped working with the logs I CC.

My guess is that theres is something in the loading process in Meteor 1.3 update that prevents bower integrated libraries to load before the app.ng.js module does... but not sure.

from meteor-bower.

dnish avatar dnish commented on August 24, 2024

Ah okay, thank you for the information.

from meteor-bower.

marcoscuevas avatar marcoscuevas commented on August 24, 2024

Thank you @mquandalle and @lorensr. Now I understand!

from meteor-bower.

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.