Deploy Meteor To Official Meteor Servers Fibers
Solution 1:
My problem was that I did include the npm package for loading another framework, which broke the new Npm by meteor.
Solution 2:
You need to just uninstall the fibers and reinstall it on your server as mentioned in the docs:
cd bundle/programs/server/node_modules
rm -r fibers
npm install fibers@1.0.1
Where the bundle directory is the untarred version of the bundled app you created via meteor bundle xxx.tar.gz
on your ubuntu server
Solution 3:
from the meteor documentation it is clear that you can deploy to meteor.com with ´meteor deploy´ or to your own server by creating a bundle with ´meteor bundle´.
It is only when you create your bundle that you need to install ´fibers´. If you use ´meteor deploy´ there is no need.
The part where you have to remove and reinstall the fibers package is only required if you want to deploy like this
- create the bundle on your development machine
- copy the bundle.tgz file to your server which runs a different OS
- unpack the bundle.tgz file and run the app
When creating the bundle, you have to install fibers in any case. If you do it all on the server the steps are:
- meteor bundle --release 0.6.5.1 /my/output.tgz
- tar -xvzf /my/output.tgz
- mv bundle your-app-name
- cd your-app-name/programs/server
- npm install fibers
- forever start your-app-name/main.js
these steps assume you use the node package forever
Post a Comment for "Deploy Meteor To Official Meteor Servers Fibers"