title: Sencha Architect + Sencha Cmd - javascript error: e.onRedraw is not a function
body: <p>I'm building a Sencha Architect project with Sencha Cmd. To do that, I'm following the steps mentioned in <a href="http://www.sencha.com/forum/showthread.php?246508-Setting-up-your-Architect-Touch-projects-to-be-used-with-Sencha-Cmd-v3&amp;p=901360" rel="nofollow">this forum post</a>.</p>
  
  <p>I created the Cmd project:</p>
  
  <pre><code>cd \path\to\sdk
  sencha generate app app path\to\my\project
  </code></pre>
  
  <p>Then I edited <code>index.html</code></p>
  
  <pre><code>&lt;!DOCTYPE HTML&gt;
  &lt;html&gt;
  &lt;head&gt;
      &lt;meta charset="UTF-8"&gt;
      &lt;title&gt;fresh&lt;/title&gt;
      &lt;!-- &lt;x-compile&gt; --&gt;
          &lt;!-- &lt;x-bootstrap&gt; --&gt;
              &lt;script src="ext/ext-dev.js"&gt;&lt;/script&gt;
              &lt;script src="bootstrap.js"&gt;&lt;/script&gt;
          &lt;!-- &lt;/x-bootstrap&gt; --&gt;
          &lt;script src="app.js"&gt;&lt;/script&gt;
      &lt;!-- &lt;/x-compile&gt; --&gt;
  &lt;/head&gt;
  &lt;body&gt;&lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>An then I ran the build:</p>
  
  <pre><code>cd path\my\project
  sencha app build production
  </code></pre>
  
  <p>The first time it complained about <code>Ruby</code>, so I installed the version 1.9, and then it run with success.</p>
  
  <p>In my production page I used <code>all-classes.js</code> and <code>resources/app-all.css</code>, both generated by the build.</p>
  
  <p>The problem is that now I have javascript errors:</p>
  
  <pre><code>TypeError: e.onRedraw is not a function
  TypeError: b.setOwner is not a function
  </code></pre>
  
  <p>How can I debug this process? Is there anything that I can do?</p>
  
  <p>I'm using cmd version 3.1.2.342 with ExtJS ext-4.2.1.883.</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>If I change the env to "testing", the new error is:</p>
  
  <pre><code>Error: [Ext.createByAlias] Cannot create an instance of unrecognized alias: series.column
  </code></pre>