title: Meteor cannot find module "module"
body: <p>I'm trying to install the <a href="https://github.com/WaterfallEngineering/SpookyJS" rel="nofollow noreferrer">Spooky</a> module in meteor (this one is in my public folder: app/public/node_modules).</p>
  
  <p>I've read answers <a href="https://stackoverflow.com/questions/10476170/how-can-i-deploy-node-modules-in-a-meteor-app-on-meteor-com">in this post</a> and added the following code in server/server.js</p>
  
  <pre><code>Meteor.startup -&gt;
      path = Npm.require 'path'
      fs = Npm.require 'fs'
      base = path.resolve '.'
      isBundle = fs.existsSync base + '/bundle'
      modulePath = base + (if isBundle then '/bundle/static' else '/public') + '/node_modules'
      spooky = Npm.require modulePath + '/spooky'
  </code></pre>
  
  <p>But when I'm running meteor I get:</p>
  
  <pre><code>Error: Cannot find module '/Users/mac/Documents/websites/app/.meteor/local/build/programs/server/public/node_modules/spooky'
  </code></pre>