title: npm install fails (unable to resolve dependency tree)
body: <p>Trying to reduce any changing variables and using a fresh pull of my code. They are no <code>node-module</code> packages or <code>package-lock.json</code>. I run <code>npm install</code> I get this error:</p>
  <pre><code>npm ERR! code ERESOLVE
  npm ERR! ERESOLVE unable to resolve dependency tree
  npm ERR!
  npm ERR! While resolving: undefined@undefined
  npm ERR! Found: react-native-screens@2.15.2
  npm ERR! node_modules/react-native-screens
  npm ERR!   react-native-screens@&quot;~2.15.0&quot; from the root project
  npm ERR!
  npm ERR! Could not resolve dependency:
  npm ERR! peer react-native-screens@&quot;^1.0.0 || ^1.0.0-alpha&quot; from react-navigation-drawer@1.4.0
  npm ERR! node_modules/react-navigation-drawer
  npm ERR!   react-navigation-drawer@&quot;^1.4.0&quot; from the root project
  npm ERR!
  npm ERR! Fix the upstream dependency conflict, or retry
  npm ERR! this command with --force, or --legacy-peer-deps
  npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
  npm ERR!
  npm ERR! See /Users/myname/.npm/eresolve-report.txt for a full report.
  
  npm ERR! A complete log of this run can be found in:
  npm ERR!     /Users/myname/.npm/_logs/2021-05-22T01_16_02_351Z-debug.log
  </code></pre>
  <p>If I do an install via <code>--force</code> or <code>npm install --legacy-peer-deps</code> I get a bunch of files mark as outdated and when I run <code>npm update</code> I get the same error. I have tried clearning the cache of my npm as well with no luck <code>npm cache clean</code>. I don't know why this is happening as there is no node-module folder or anything installed for it to give error under my <code>node_modules/react-native-screens</code>...they are no node_modules folder yet. What is causing this and how can I fix it?</p>
  <p><strong>Edit:</strong>
  I ran <code>npm update -g</code> , then <code>npm audit fix</code> and then I got an error:</p>
  <pre><code>code ERESOLVE
  ERESOLVE unable to resolve dependency tree
  
  While resolving: Sculp latest app@undefined
  Found: react-native-screens@2.15.2
  node_modules/react-native-screens
  react-native-screens@“~2.15.0” from the root project
  </code></pre>
  <p>so I ran <code>expo install react-native-screens</code> and saw that it couldn't find expo...checked my folder and my <code>node_module</code> folder is missing. Like if it never was there or gotten installed.</p>
  <p><strong>edit:</strong>
  I have tried all the methods listed below and it gives random errors that I can not fix it <code>undefined is not an object (evaluating ‘_core.ThemeColors.light’)</code> and I have googled this and one of the main solutions is delete npm and package-lock.json and reinstall but that brings me back to where I started.</p>