stream-meteor icon indicating copy to clipboard operation
stream-meteor copied to clipboard

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

Open novamul opened this issue 9 years ago • 28 comments

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 :)

novamul avatar Jan 13 '16 12:01 novamul

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

matthisk avatar Jan 13 '16 12:01 matthisk

HI. I'm on Windows.

novamul avatar Jan 13 '16 12:01 novamul

@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 avatar Jan 14 '16 12:01 matthisk

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

novamul avatar Jan 14 '16 14:01 novamul

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.

lewtds avatar Feb 01 '16 10:02 lewtds

@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.

matthisk avatar Feb 01 '16 10:02 matthisk

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 avatar Feb 01 '16 14:02 lewtds

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.

lewtds avatar Feb 02 '16 08:02 lewtds

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.

matthisk avatar Feb 03 '16 17:02 matthisk

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!

kantle avatar Apr 07 '16 20:04 kantle

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."

ErikAugust avatar Apr 07 '16 21:04 ErikAugust

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?

kantle avatar Apr 07 '16 22:04 kantle

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 avatar Apr 07 '16 22:04 matthisk

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

matthisk avatar Apr 07 '16 22:04 matthisk

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.

kantle avatar Apr 07 '16 23:04 kantle

@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!

ErikAugust avatar Apr 08 '16 01:04 ErikAugust

@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.

kantle avatar Apr 08 '16 13:04 kantle

@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.

matthisk avatar Apr 08 '16 16:04 matthisk

@matthisk Awesome. Thanks!

ErikAugust avatar Apr 08 '16 18:04 ErikAugust

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

kantle avatar Apr 08 '16 19:04 kantle

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

enoziak avatar Jun 25 '16 23:06 enoziak

@matthisk do we have an update on this?

tbarbugli avatar Jun 27 '16 09:06 tbarbugli

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.

matthisk avatar Jun 28 '16 08:06 matthisk

@matthisk Appreciate the update and your time!

enoziak avatar Jun 30 '16 03:06 enoziak

getting the same problem. any more updates?

monstrfolk avatar Jul 28 '16 00:07 monstrfolk

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

sayed-ali avatar Dec 09 '16 07:12 sayed-ali

Any updates on this?

Nisthar avatar Feb 05 '17 06:02 Nisthar

is there any similar package for meteor?

Nisthar avatar Feb 05 '17 06:02 Nisthar