title: Elm cannot find Module that is in a dependancy
body: <p>Here is my project's elm-package.json</p>
  
  <pre><code>{
    "version": "1.0.0",
    "summary": "helpful summary of your project, less than 80 characters",
    "repository": "https://github.com/user/project.git",
    "license": "BSD3",
    "source-directories": [
        "."
    ],
    "exposed-modules": [],
    "dependencies": {
      "elm-lang/core": "5.1.1 &lt;= v &lt; 6.0.0",
      "elm-lang/html": "2.0.0 &lt;= v &lt; 3.0.0",
      "simonh1000/elm-charts": "3.1.0 &lt;= v &lt; 4.0.0"
    },
    "elm-version": "0.18.0 &lt;= v &lt; 0.19.0"
  }
  </code></pre>
  
  <p><code>elm-charts</code> exports a module called <code>Chart</code>.</p>
  
  <p>In my <code>ChartView.elm</code> I want to import <code>Chart</code></p>
  
  <pre><code>module Components.ChartView exposing ( .. )
  
  import Chart as C exposing ( .. )
  import Html exposing ( Html, div )
  import Html.Attributes exposing ( id, class )
  </code></pre>
  
  <p>but when elm tries to compile, I get the error:</p>
  
  <pre class="lang-none prettyprint-override"><code>I cannot find module 'Chart'.
  
  Module 'Components.ChartView' is trying to import it.
  
  Potential problems could be:   * Misspelled the module name   * Need
  to add a source directory or new dependency to elm-package.json
  </code></pre>
  
  <p>if I open elm repl from the project directory, I can import Chart as expected:</p>
  
  <pre class="lang-none prettyprint-override"><code>jon@jon-Xubuntu-VB:~/elixir/eval$ elm repl
  \&gt; import Chart
  \&gt;
  </code></pre>
  
  <p>any ideas why I Elm can't 'find Chart' when compiling?</p>