Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Problems with Meteor deployment related to fibers module

While trying to deploy meteor, I install node fiber by:

$ cd bundle/server

and then installing fiber

$ npm install fibers

It seems to install but with this message:

`linux-x64-v8-3.14` exists; testing
Binary is fine; exiting
[email protected] node_modules/fibers

However, while deploying the code using:

node bundle/main.js

I get this error:

throw new Error('`'+ modPath+ '.node` is missing. Try reinstalling `node-fibe
~/main_repo/bundle/server/node_modules/fibers/bin/linux-x64-v8-3.20/fibers.node` is missing. Try reinstalling `node-fibers`?

I can see that the versions are different for linux-x64-v8-3.xx. I'm using Ubuntu 13.04

Node version is v0.11.3 NPM version is 1.2.18

like image 967
Anshuman Biswas Avatar asked Jul 12 '13 01:07

Anshuman Biswas


1 Answers

You need to uninstall fibers first to remove the binary that's not compatible with your server's platform.

cd bundle/server
npm uninstall fibers 
npm install fibers

You only need to do this if your server is using a different platform, i.e if your development pc is not ubuntu.

like image 99
Tarang Avatar answered Oct 15 '22 22:10

Tarang