Publishing a project fails with ELOOP: too many symbolic links encountered

If you’re trying to publish a project, you might come across the following error message:

Error code: ELOOP
Error: ELOOP: too many symbolic links encountered, stat '/Users/hidekoji/.exploratory/projects/Test_icl0Gjm5/Test_icl0Gjm5"

This error message indicates that there is a circular symbolic link in the path to your project, which is causing the publishing process to fail. To resolve this issue, you need to remove the symbolic link from your file system.

To do this, follow these steps:

  1. Identify the symbolic link that is causing the problem. In this example, the problematic symbolic link is /Users/hidekoji/.exploratory/projects/Test_icl0Gjm5/Test_icl0Gjm5.

  2. Remove the symbolic link from your file system. You can do this by using the rm command in your terminal or file explorer. For example, you could run the following command in your terminal:

rm /Users/hidekoji/.exploratory/projects/Test_icl0Gjm5/Test_icl0Gjm5
  1. Once the symbolic link has been removed, try publishing your project again.

By following these steps, you should be able to successfully publish your project without encountering the ELOOP error.

1 Like