title: How to fix 'No pubspec.yaml file found' when flutter project in OneDrive folder?
body: <p>Run <code>flutter packages get</code> or <code>flutter run</code> in the root of my project, and it prompts the following</p>
  
  <pre><code>Error: No pubspec.yaml file found.
  This command should be run from the root of your Flutter project.
  Do not run this command from the root of your git clone of Flutter.
  exit code 1
  </code></pre>
  
  <p>This problem only appears in the project located under the <strong>OneDrive folder</strong>.</p>
  
  <p><strong>I can run flutter projects elsewhere.</strong></p>
  
  <p>I want to know if someone has the same problem.</p>
  
  <hr>
  
  <p>After I reinstalled win10 today, this problem disappeared. So I guess this is my personal reason.</p>