Comments (3)
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.
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.
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)
- Diff names when listing workspace packages due to not finding local package
- spago@next installation fails on windows HOT 5
- Issue parsing execArgs flag HOT 2
- `spago upgrade` should use a compatible compiler version if no sets for the current one are available HOT 4
- Create a `.purs-repl` file when running `spago repl`
- `verbose-stats` showing improper stats
- allow to exclude some .purs files from compiling HOT 2
- Metadata error not clear HOT 10
- How to run benchmarks? HOT 2
- "dest already exists" error HOT 2
- Can not find package one directory up HOT 1
- `spago install` `git clone`s for same monorepo package multiple times HOT 1
- Autoinstall missing packages HOT 5
- `spago upgrade` doesn't update package-set registry version HOT 1
- Publish packages with dependencies HOT 6
- Error when adding custom `location` HOT 1
- Add facilities to query the association between package versions and package sets
- Spago fails to build on Windows and Node v 21.7 HOT 4
- Spago database falling out of sync with registry without explicit `spago fetch` HOT 11
- can't build chapter 3 of purescript book HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spago.