title: Cannot compile Laravel assets on new Homestead install
body: <p>UPDATE 3 (LATEST)</p>
  <p>Per suggestion below (from justanothereddie), configuring the drive as NFS fixed the problem.  I am not sure why though, so will leave the question open for a few more days.</p>
  <p>UPDATE 2</p>
  <p>Just purchased a new MacBook Pro, but the problem remains.  I can run an <code>npm install</code>, provided the folder is not shared with the host.  If it is shared with the host, it fails.</p>
  <p>UPDATE 1</p>
  <p>I have discovered that I can compile the Laravel assets if the drive I am working in is not shared with the host.  I am running the distro's VirtualBox package, which is 6.1.10.  The latest release is 6.1.12, so perhaps that will fix it.</p>
  <p>EDIT:</p>
  <p>Originally I thought this problem was related to Laravel Jetstream, but I now see that it is related to Laravel more broadly.  I have done a <code>vagrant destroy</code> to remove the machine, and removed my Homestead directory, and reinstalled Homestead from scratch.</p>
  <p>When I do a <code>laravel new my_project</code> is installs fine, but as soon as I issue <code>npm install</code> it fails with the same error message as below.  I can not understand why no one else is reporting this.  This is a very simple process which I have completed successfully about 100 times in the past, and the only thing I have not tried is new hardware or VirtualBox install.</p>
  <p>ORIGINAL POST:</p>
  <p>Did a <code>vagrant destroy</code> a few days ago and installed the new Homestead on my Ubuntu host (20.04.1). Trying to install Jetstream for the first time, the inertia stack, with <code>--teams</code>. Tried both the <code>vagrant new</code> method, and the composer method. Failed both times with the following error.</p>
  <pre><code>npm ERR! code ENOENT
  npm ERR! syscall open
  npm ERR! path /home/vagrant/code/ftmv2/node_modules/yargs/node_modules/yargs-parser/package.json.1863223755
  npm ERR! errno -2
  npm ERR! enoent ENOENT: no such file or directory, open '/home/vagrant/code/my_test/node_modules/yargs/node_modules/yargs-parser/package.json.1863223755'
  npm ERR! enoent This is related to npm not being able to find a file.
  npm ERR! enoent 
  </code></pre>
  <p>Removed the <code>node_modules</code> directory and retried <code>npm_install</code>, but outcome is the same.</p>
  <ul>
  <li>Jetstream Version: ^1.2</li>
  <li>Jetstream Stack: Inertia</li>
  <li>Laravel Version: ^8.0</li>
  <li>PHP Version: ^7.3</li>
  <li>Laravel Installer Version: 4.0.3</li>
  <li>NPM version: 6.14.8</li>
  </ul>