Skip to content
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

Adding the package results in an error. No compatible binary build found for this package #1

Open
novamul opened this issue Jan 13, 2016 · 28 comments
Assignees
Labels

Comments

@novamul
Copy link

novamul commented Jan 13, 2016

Hey! Really excited that stream now has a meteor package as well.

I can't add the package though. Whenever I try to I get this message:

While checking for getstream:[email protected]:
error: No compatible binary build found for this package. Contact the package author and ask them to publish it for your platform.

Hope someone can help out :)

@matthisk
Copy link
Contributor

Hi @novamul what platform (linux?) are you trying to install stream-meteor on?

@novamul
Copy link
Author

novamul commented Jan 13, 2016

HI. I'm on Windows.

@matthisk
Copy link
Contributor

@novamul ok i investigated and it seems the binary dependencies aren't build correctly on the Windows platform. I will need some more time to find out if there is a solution to this problem.

@matthisk matthisk self-assigned this Jan 14, 2016
@matthisk matthisk added the bug label Jan 14, 2016
@novamul
Copy link
Author

novamul commented Jan 14, 2016

Ok, too bad. Thanks for your quick responses and effort. I hope it can be fixed.

@lewtds
Copy link

lewtds commented Feb 1, 2016

Hi @matthisk. This is currently a blocking issue for us. Is there anything we can do to help? I searched around but cannot find the source code of getstream:bin-deps.

@matthisk
Copy link
Contributor

matthisk commented Feb 1, 2016

@lewtds try running meteor publish-for-arch getstream:[email protected] on a Windows machine, I have tried this but it results in an error message. Unfortunately I haven't gotten around to debugging this error message. The gestream:bin-deps project is currently not on github I will try to create a repo for it so we can fix this issue.

@lewtds
Copy link

lewtds commented Feb 1, 2016

Looks like node-fibers failed to build because most Windows machines don't come with VC++ and Python (and somehow the prebuilt binary is not used). Do we really need that package? I thought Meteor is already running on fibers?

@lewtds
Copy link

lewtds commented Feb 2, 2016

We managed to remove the bin-deps dependency and make it work by just Npm.require-ing fibers/future and getstream directly from this package (Meteor comes bundled with fibers already). Will try to upstream the changes ASAP.

@matthisk
Copy link
Contributor

matthisk commented Feb 3, 2016

That wouldn't change the issue though would it? You still need to build the 'fibers' npm package for all target machines (i.e. linux/osx/windows). You can not use the fibers bundled with Meteor as far as I know? If you want to use fibers/futures you have to retrieve them from npm. I separated the npm dependencies into a different meteor package to avoid having to rebuild for every target architecture when I update stream-meteor. I will retry to build getstream-bin-deps for windows with build tools installed.

@kantle
Copy link
Contributor

kantle commented Apr 7, 2016

Hi @matthisk I just bumped into this problem when I was porting an app to Meteor Galaxy hosting ( running Ubuntu 14.04). Don't suppose you've had the chance to look more into it? I'm getting a slightly different error when I build:

=> Errors while initializing project:

While checking for getstream:[email protected]:
error: No compatible binary build found for this package. Contact the package
author and ask them to publish it for your platform.

Thanks!

@ErikAugust
Copy link

Hi @kantle and @matthisk - I've encountered this one myself.

Take a look at this:

http://docs.meteor.com/#/full/meteorpublishforarch

Meteor packages must be published for each platform you want to run them on:

"Currently, the supported architectures for Meteor are 32-bit Linux, 64-bit Linux and Mac OS. Galaxy's servers run 64-bit Linux."

@kantle
Copy link
Contributor

kantle commented Apr 7, 2016

Hi @ErikAugust - that's interesting. I've been running the app successfully on Digital Ocean, which is also running Ubuntu 14.04 x64. Shouldn't the package also fail on DO if it didn't support 64 bit?

@matthisk
Copy link
Contributor

matthisk commented Apr 7, 2016

Hi guys maybe I did something wrong on the latest release (you have to do "publish for arch" for every release), I will make sure it is published for all architectures.

@matthisk
Copy link
Contributor

matthisk commented Apr 7, 2016

Btw Windows built is still broken (@erik are you on Windows or OS X?), I can not get the package to build on windows and the Meteor support is also of no assistence

@kantle
Copy link
Contributor

kantle commented Apr 7, 2016

Thanks for taking a look @matthisk - just for more info I'm on OSX.
I was able to deploy to Digital Ocean using MUP without a problem.
I tried removing the GetStream package and was able to deploy to Galaxy as well - so there is something about the deploy process to Galaxy that is not interacting well with this version of the package.

@ErikAugust
Copy link

@matthisk - Thanks, I'm on OS X like @kantle.

I have forked this library and have it installed locally - and will be taking a look at a solution this weekend.

Thanks again!

@kantle
Copy link
Contributor

kantle commented Apr 8, 2016

@matthisk @ErikAugust I downgraded this package to version 0.3.7 and was able to build and deploy just fine to Galaxy, so I think it has something to do with how version 0.4.0 was published.

@matthisk
Copy link
Contributor

matthisk commented Apr 8, 2016

@kantle @ErikAugust I just build the package for linxu (x86 and x64) so everything should work as expected. Please let me know if you are still experiencing any issues.

@ErikAugust
Copy link

@matthisk Awesome. Thanks!

@kantle
Copy link
Contributor

kantle commented Apr 8, 2016

Awesome - just upgraded back to 0.4.0 and deployed no problem.
Thanks @matthisk!

@enoziak
Copy link

enoziak commented Jun 25, 2016

Hey Guys! Read through the above thread. Did a Windows fix ever get implemented? Hitting the "No compatible binary build found for this package."

@tbarbugli
Copy link
Member

@matthisk do we have an update on this?

@matthisk
Copy link
Contributor

No currently we do not have a solution for this. Support from Meteor publishforarc on Windows doesn't seem to be in great shape. I am unable to use their architecture to publish the package. I tried running the build on a VM windows machine without success. I will give their build farm a try again right now, maybe they have applied some fixes to their architecture.

@enoziak
Copy link

enoziak commented Jun 30, 2016

@matthisk Appreciate the update and your time!

@monstrfolk
Copy link

monstrfolk commented Jul 28, 2016

getting the same problem. any more updates?

@sayed-ali
Copy link

Any updates? we are still not able to run it on windows

@Nisthar
Copy link

Nisthar commented Feb 5, 2017

Any updates on this?

@Nisthar
Copy link

Nisthar commented Feb 5, 2017

is there any similar package for meteor?

@dwightgunning dwightgunning self-assigned this Sep 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests