-
Notifications
You must be signed in to change notification settings - Fork 356
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
Problems getting semantic:ui-css on Meteor 1.4.x #23
Comments
I'm having this problem too. Which is funny -- I thought that meteor 1.4 was doing away with binaries published by package authors. At any rate, I have a compatible toolchain installed, as I was able to |
A workaround was posted on #20, which is to set a previous version for now:
|
Ironically I'm also getting this same message with some other packages I depend on in |
@jlukic Which packages exactly are you having problems with? Maybe someone could help with that? |
For what it's worth, here's the /*globals Package, Npm*/
Package.describe({
name : 'essentials:semantic-ui',
version : '2.2.4',
description : 'A wrapper for semantic-ui',
});
Npm.depends({
'semantic-ui-css': '2.2.4',
});
Package.onUse(function (api) {
api.versionsFrom('1.4');
api.use('jquery', 'client');
api.addFiles([
'.npm/package/node_modules/semantic-ui-css/semantic.js',
'.npm/package/node_modules/semantic-ui-css/semantic.css',
], 'client');
api.addAssets([
'.npm/package/node_modules/semantic-ui-css/themes/default/assets/fonts/icons.eot',
'.npm/package/node_modules/semantic-ui-css/themes/default/assets/fonts/icons.otf',
'.npm/package/node_modules/semantic-ui-css/themes/default/assets/fonts/icons.svg',
'.npm/package/node_modules/semantic-ui-css/themes/default/assets/fonts/icons.ttf',
'.npm/package/node_modules/semantic-ui-css/themes/default/assets/fonts/icons.woff',
'.npm/package/node_modules/semantic-ui-css/themes/default/assets/fonts/icons.woff2',
], 'client');
}); |
I looked into package.js and what I think is wrong with it are the following two points:
|
Could you please fix this? |
Yeah, the package won't install for me either. Having to use v2.1.2 in order for it to work. :/ |
how do i fix this, I need some 2.2 features |
@s-devaney The best workaround I can think of is creating a local This will allow you to choose whatever version you want. |
@apendua why you still need meteor package for that? Pure npm package is not enough? |
@chompomonim That's a very good question. The only reason I think you will need a package in this particular case is importing font assets. If it was only about |
I've tried importing the npm package and I can't get it to work - lots of issues with relative paths to fonts etc not playing nice with the meteor build tool... |
@apendua do you have any instructions on how to add your local smart package to my project? EDIT: got it working. For others:
|
@s-devaney It's great you figured that out. Sorry I couldn't respond earlier, it's a timezone difference problem. |
check the last comment on #38 |
$ meteor add semantic:ui-css
=> Errors while adding packages:
While checking for semantic:[email protected]:
error: No compatible binary build found for this package. Contact the package author and ask
them to publish it for your platform.
The text was updated successfully, but these errors were encountered: