title: why do I get this error when I try to run amplify push or pull often?
body: <p>this the error</p>
  <pre><code>const internalModuleReadJSON = function (f) { return require('fs').internalModuleReadJSON(f); };
                                                                 ^
  
  TypeError: require(...).internalModuleReadJSON is not a function
  </code></pre>
  <p>this error fixes itself randomly, sometimes it works, sometimes not,</p>
  <p>sometimes I have to delete my project and then restart my pc but sometimes it works sometimes it doesn't</p>
  <p>how can I fix this error?</p>