Giter VIP home page Giter VIP logo

Comments (5)

ernstmartinj avatar ernstmartinj commented on July 16, 2024

I should add that "Snap.js" is present in the list of deps shown in the error message. May be that brunch looks for "snapjs" and only finds "Snap.js". I know nothing about how brunch work and very little about bower. Maybe this is an issue with brunch.io?

from angular-snap.js-bower.

jtrussell avatar jtrussell commented on July 16, 2024

I think the issue boils down to the Snap.js repo actually, it's registered as "snapjs" in the bower registry (try bower search snapjs) but it lists it's name as "Snap.js" in it's components.json file (bower search Snap.js turns up no results at the time of this writing)... so it's registered under a different name than it declares which is throwing brunch for a loop apparently.

In the short term I'd recommend taking advantage of the overrides property (see here) in your own bower.json to tell brunch it should look for Snap.js instead of snapjs.

{
  // ...
  "overrides": {
    "angular-snap": {
      "angular": "~1.2.4",
      "Snap.js": "latest"
    }
  }
}

Let me know if that helps!

from angular-snap.js-bower.

ernstmartinj avatar ernstmartinj commented on July 16, 2024

I could not get this to work, but I didn't dwell on it too much. Everything works when doing a manual install. I'll try the bower approach again later and report back if I make any progress.
Thanks for the reply.

from angular-snap.js-bower.

jtrussell avatar jtrussell commented on July 16, 2024

Bummer, are you working from a public repo I could take a look at?

from angular-snap.js-bower.

ernstmartinj avatar ernstmartinj commented on July 16, 2024

Sorry no, but think I can make an example and publish it tomorrow.

tisdag 24 juni 2014 skrev Justin Russell [email protected]:

Bummer, are you working from a public repo I could take a look at?


Reply to this email directly or view it on GitHub
#7 (comment)
.

Martin Jacobsson
email: [email protected]
tel: 070 584 00 94

from angular-snap.js-bower.

Related Issues (7)

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.