-
-
Notifications
You must be signed in to change notification settings - Fork 272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
install https://github.com/component/tip Error #109
Comments
When trying to import "github:component/tip" the es6 module loader loads the index.js file of that repository which defines the following requires var bind = require('bind');
var Emitter = require('emitter');
var events = require('events');
var query = require('query');
var domify = require('domify');
var classes = require('classes');
var css = require('css');
var offset = require('offset'); but there it uses kind of short-cuts for the modules names like If you've found a working configuration then you can publish it to the jspm registry as explained here #101 (comment) by Guy :) I didn't test it but I hope that it works like that. Edit: Sorry, maybe a simple |
Sorry I don't know how I missed this... the way to make this work would be to do:
When installing from @subesokun if you wanted to override the dependency map, the better way to do this would be through configuration - System.config({
map: {
'github:component/[email protected]': {
map: {
bind: 'npm:[email protected]', // etc.
}
}
}
}); It's a more flexible way of remapping as it doesn't get built into the underlying files and can be maintained under version control. |
https://github.com/component/tip
i use
jspm install github:component/tip
and
System.import("github:component/tip")
errors:
The text was updated successfully, but these errors were encountered: