Comments (4)
It's failing here
https://github.com/mquandalle/meteor-bower/blob/master/plugin/handler.js#L59
when calling the bower
npm package's install
method. According to their docs, sending a git URL is fine (http://bower.io/docs/api/#install), so I'm guessing the problem is with our parsing of bower.json
.
PR welcome
from meteor-bower.
Um, so, there's a lot of git repos flying around with bower.json's that aren't apparently in the bower package index for some reason or another. A lot.
The following works with the bower
command in my bower.json
:
"dependencies": {
"Medium.js": "git://github.com/jakiestfu/Medium.js.git",
"impress-js": "git://github.com/bartaz/impress.js.git"
},
It's also possible to use the https://
instead of git://
protocol.
Regardless, neither work with this package.
My error is:
/Users/hunter/.meteor/packages/meteor-tool/.1.0.38.1ktyovf++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/dev_bundle/lib/node_modules/fibers/future.js:326:15:
Failed to execute "git ls-remote --tags --heads git://github.com/bulkan/Medium.js.git", exit code of #128 (compiling
bower.json)
at Object.Future.wait
(/Users/hunter/.meteor/packages/meteor-tool/.1.0.38.1ktyovf++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/dev_bundle/lib/node_modules/fibers/future.js:326:15)
at Object.install (packages/meteor/helpers.js:116:1)
at bowerHandler (packages/bower/plugin/handler.js:59:1)
at Package (packages/bower/plugin/handler.js:181:1)
It's possible it's related to the fact that this is trying to use the package index, when I'm actually specifying a git link, because what's in the index is broken.
from meteor-bower.
This is the function that generates installList
:
var installList = _.map(bowerTree, function (definition, name) {
if (_.isString(definition))
definition = { version: definition };
if (_.isEmpty(definition.version))
compileStep.error({
message: "You must provide a version number for package " + name
});
if (_.has(definition, "source"))
name += "=" + definition.source;
return name + "#" + definition.version;
});
The end result is something like this:
[
"Medium.js#git://github.com/jakiestfu/Medium.js.git",
"impress-js#git://github.com/bartaz/impress.js.git"
]
Whereas it should look like this:
[
"git://github.com/jakiestfu/Medium.js.git",
"git://github.com/bartaz/impress.js.git"
]
from meteor-bower.
Update has been pushed to atmosphere, please let me know whether it works, thanks!
from meteor-bower.
Related Issues (20)
- Won't load despite main being defined
- Error while starting meteor HOT 7
- Using a specific js file from a dependency HOT 1
- Javascript files not loaded in client when _originalSource != name HOT 2
- Error when adding package on my meteor app HOT 2
- Question: Where can I put the bower folder in? HOT 2
- Bower dependencies list must be a dictionary HOT 1
- Excluding files from dependency
- ignoredDependencies not working HOT 3
- Meteor not loading bower package HOT 5
- After upgrade to 1.3: Packages not available anymore HOT 6
- Can't find dependencies modules anymore meteor 1.2 HOT 2
- bower old
- ignoredDependencies does not work HOT 1
- Unknown error with empty dependency list HOT 7
- Remove installed package HOT 1
- JS load order with bower install --save
- Bower package loads in lib/main.jsx but not in lib/transit.jsx
- Fails silently in Meteor 1.2+ HOT 4
- Local Database Fails to Start after installing Polymer HOT 5
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 meteor-bower.