title: Meteor 0.8 and Jade
body: <p>I'm trying to upgrade my application to Meteor 0.8 which uses the new Blaze templating engine.</p>
  
  <pre><code>$ meteor update
  my-app: updated to Meteor 0.8.0.
  
  $ mrt update
  </code></pre>
  
  <p>The thing is that I'm using Jade and after running meteor, it prompted:</p>
  
  <pre><code>While building the application:
  &lt;runJavaScript-38&gt;:167:38: Object #&lt;Object&gt; has no method 'compile' (compiling modules/homepage/client/views/_homepage.jade)
    at Object.html_scanner._handleTag (&lt;runJavaScript-38&gt;:167:38)
    at Object.html_scanner.scan (&lt;runJavaScript-38&gt;:118:20)
    at handler (&lt;runJavaScript-38&gt;:526:30)
  </code></pre>
  
  <p>I've seen in <a href="https://www.meteor.com/blog/2014/03/27/meteor-080-introducing-blaze" rel="nofollow">the new blog post</a> that I needed to add jade with meteorite.</p>
  
  <pre><code>mrt add jade
  </code></pre>
  
  <p>But now, by running Meteor, the following error appears:</p>
  
  <pre><code>=&gt; Started proxy.
  =&gt; Started MongoDB.     
  =&gt; Starting your app...
  /Users/mac/.meteor/tools/c2a0453c51/lib/node_modules/fibers/future.js:173
                      throw(ex);
                            ^
  TypeError: Cannot read property 'name' of undefined
    at /Users/mac/.meteor/tools/c2a0453c51/tools/packages.js:750:28
    at Function._.each._.forEach (/Users/mac/.meteor/tools/c2a0453c51/lib/node_modules/underscore/underscore.js:87:22)
    at /Users/mac/.meteor/tools/c2a0453c51/tools/packages.js:745:9
    at Array.forEach (native)
    at Function._.each._.forEach (/Users/mac/.meteor/tools/c2a0453c51/lib/node_modules/underscore/underscore.js:79:11)
    at [object Object]._.extend._allHandlers (/Users/mac/.meteor/tools/c2a0453c51/tools/packages.js:744:7)
    at [object Object]._.extend.registeredExtensions (/Users/mac/.meteor/tools/c2a0453c51/tools/packages.js:768:24)
    at [object Object].slice.getSourcesFunc (/Users/mac/.meteor/tools/c2a0453c51/tools/packages.js:1713:41)
    at [object Object]._.extend.build (/Users/mac/.meteor/tools/c2a0453c51/tools/packages.js:279:17)
    at /Users/mac/.meteor/tools/c2a0453c51/tools/packages.js:1088:13
    at Array.forEach (native)
    at Function._.each._.forEach (/Users/mac/.meteor/tools/c2a0453c51/lib/node_modules/underscore/underscore.js:79:11)
    at [object Object]._.extend.build (/Users/mac/.meteor/tools/c2a0453c51/tools/packages.js:1087:7)
    at [object Object]._.extend.getForApp (/Users/mac/.meteor/tools/c2a0453c51/tools/library.js:285:9)
    at /Users/mac/.meteor/tools/c2a0453c51/tools/bundler.js:1762:25
    at Object.capture (/Users/mac/.meteor/tools/c2a0453c51/tools/buildmessage.js:191:5)
    at Object.exports.bundle (/Users/mac/.meteor/tools/c2a0453c51/tools/bundler.js:1697:31)
    at [object Object]._.extend._runOnce (/Users/mac/.meteor/tools/c2a0453c51/tools/run-app.js:396:32)
    at [object Object]._.extend._fiber (/Users/mac/.meteor/tools/c2a0453c51/tools/run-app.js:520:28)
    at /Users/mac/.meteor/tools/c2a0453c51/tools/run-app.js:340:12
  </code></pre>
  
  <p>I do not see where the error comes from.</p>