title: How do I fix "Failed to build DependencyGraph: @providesModule naming collision" for a dependency that has been uninstalled?
body: <pre><code>Failed to build DependencyGraph: @providesModule naming collision:
    Duplicate module name: react-native-vector-icons
    Paths: /Users/collumj/research/kishar-nine/node_modules/react-native/local-cli/core/__fixtures__/files/package.json collides with /Users/collumj/research/kishar-nine/ios/build/Build/Products/Debug-iphonesimulator/kisharNine.app/package.json
  
  This error is caused by a @providesModule declaration with the same name across two different files.
  Error: @providesModule naming collision:
    Duplicate module name: react-native-vector-icons
    Paths: /Users/collumj/research/kishar-nine/node_modules/react-native/local-cli/core/__fixtures__/files/package.json collides with /Users/collumj/research/kishar-nine/ios/build/Build/Products/Debug-iphonesimulator/kisharNine.app/package.json
  </code></pre>
  
  <p>I had <code>react-native-vector-icons</code> installed (and working) a couple of days ago. Had an issue with a debugger line not being hit so I thought maybe restarting the packager would help. Now the packager won't start at all. I have: </p>
  
  <ul>
  <li>removed <code>node_modules</code> and reinstalled </li>
  <li>checked out code from a prior commit (that didn't have react-native-vector-icons) and removed <code>node_modules</code> etc. </li>
  <li><code>./node_modules/react-native/packager/packager.sh clean</code> </li>
  <li><code>react-native unlink react-native-vector-icons</code></li>
  <li><code>watchman watch-del-all</code></li>
  <li><code>rm -rf $TMPDIR/react-* &amp;&amp; watchman watch-del-all &amp;&amp; rm -rf ios/build/ModuleCache/* &amp;&amp; rm -rf node_modules/ &amp;&amp; npm cache clean &amp;&amp; npm i --silent</code> </li>
  </ul>
  
  <p>Still getting the same error. I can checkout a fresh copy of the repo and start it with no issues so I have to assume this is a caching/build issue. </p>
  
  <p>How can I resolve this? </p>