Unable to import zip file

Issue Summary

When i am trying to import a site ( ZIP file) after a few files getting imported, I get node modules "Error: ENOENT: no such file or directory, real path error. I suppose that the import is not able to process all the npm packages

Troubleshooting Questions

  • Does this happen for all sites in Local, or just one in particular?
    I just tried this particular zip.

  • Are you able to create a new, plain WordPress site in Local and access it in a Browser?
    I was able to create a new plain wordpress site in local and access it in a browser.

System Details

  • Which version of Local is being used?

  • What Operating System (OS) and OS version is being used?

    • For example: macOS Catalina or Windows 10 Professional
  • Attach the Local Log. See this Help Doc for instructions on how to do so:
    {“stack”:“Error: ENOENT: no such file or directory, realpath ‘C:\Users\XXXXXX\AppData\Local\Temp\local-by-flywheel-4h-rSp8UHw\wp-content\themes\ProjectXXXX\node_modules\bower\node_modules\update-notifier\node_modules\latest-version\node_modules\package-json\node_modules\got\node_modules\duplexify\node_modules\end-of-stream\node_modules’”,“level”:“warn”,“message”:“Unable to import site.”,“timestamp”:“2022-06-13T15:20:30.906Z”}
    {“thread”:“main”,“reason”:{},“p”:{},“eventId”:“49d6538d35264d50b2ffe960433ef281”,“level”:“warn”,“message”:“Unhandled Rejection.”,“timestamp”:“2022-06-13T15:20:37.052Z”}

Found similar cases to this but without any answers

Any update or any fix on this?

Hi there @iulhaq!

I responded to your other post about this topic:

Let’s discuss in that thread to keep it all in one place so nothing gets lost.

Thank you,

:woman_technologist:t3: Sam