Code Monkey home page Code Monkey logo

Comments (3)

naglalakk avatar naglalakk commented on June 17, 2024 1

Hi @f-f @justinwoo. Thank you both for you answers. Ok good to know. Exciting to hear about the from-bower proposal. Overall I'm really thankful for this package because of the additions/overrides thing. It's fantastic. I will close this issue now. Thanks again to both of you for good work 👍

from spago.

f-f avatar f-f commented on June 17, 2024

Hi @naglalakk! You're right, spago cannot know about dependencies of dependencies (especially if things are not in the package-set, so things will fail to build if:

  • you don't specify all the dependencies when adding a package to the set
  • even if a package is specified in the set, it's missing some dependencies

More specifically, in your case it looks like you're not specifying all the dependencies of purescript-graphql? Looking at its bower file it seems like not all the dependencies are listed in your addition (e.g. missing aff-promise and so on?)

In case a dependency is not in the package-set, IIRC spago will error out (I'll verify this), but it could also be that some dependency already in the package-set is missing some of their dependencies.

We have #24 open for a proposal to add a from-bower command, that will fetch the bower file do this addition automagically for you.

P.S.: if you manage to find a combination of libraries that works, please consider adding them to spacchetti :)

from spago.

justinwoo avatar justinwoo commented on June 17, 2024

As Fabrizio pointed out, we can't even use bower.json as a reliable source of information of what packages are required. I run into this quite often when updating package sets.

In the end, you should try to add packages to a package set (Spacchetti, a fork of Spacchetti, etc) as much as you can. Otherwise, local additions will have to try to specify their dependencies explicitly or you will just have to add them to your own dependencies list.

from spago.

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.