title: Using NGINX server to deploy a Meteor App from Amazon Linux AMI 2013.09.2 instance receive Module Error
body: <p>I am attempting to deploy my first web application (a version of Telescope from the MeteorJS framework) via Heroku to a custom subdomain from a Amazon Linux AMI 2013.09.2 instance. I am following along with this tutorial - <a href="http://satishgandham.com/2013/12/a-complete-guide-to-install-production-ready-telescope-on-your-own-server/" rel="nofollow noreferrer">http://satishgandham.com/2013/12/a-complete-guide-to-install-production-ready-telescope-on-your-own-server/</a> - but once I attempt to run Telescope using <code>PORT=3000 MONGO_URL=mongodb://localhost:3000/Telescope ROOT_URL=http://ec2-54-193-42-229.us-west-1.compute.amazonaws.com node client/main.js</code>, I receive this error message: <code>Error: Cannot find module '/home/ec2-user/bundle/programs/server/node_modules/fibers/client/main.js'</code> </p>
  
  <p>What I have attempted to do to solve this problem is performed <code>cp || mv</code> on the file <code>main.js</code> which is originally located in the <code>~/Telescope/client</code> directory over to <code>/home/ec2-user/bundle/programs/server</code> directory and even '/home/ec2-<code>user/bundle/programs/server/node_modules/fibers</code> but I cannot seem to separate <code>main.js</code> from the <code>/client</code> directory. I am not sure if that is the issue or if there is some other underlying problem but I want to find a work around to using a proxy server at this point. I thought that moving the <code>main.js</code> file out of the <code>/client</code> directory was sufficient but apparently not.  I am not sure it is imperative for my purposes to continue attempting to use a proxy but if there is a fix, I would not mind learning about it. </p>
  
  <p>Or if any one could direct me on how this - <a href="https://github.com/aldeed/deploymeteor/" rel="nofollow noreferrer">https://github.com/aldeed/deploymeteor/</a> - could be a potential work-around to using an NGINX server proxy your help would be much appreciated.</p>
  
  <p><img src="https://i.stack.imgur.com/lHWv0.png" alt="Error"></p>