The 'fs-extra.remove' function didn't remove the previous manifest. Replacing it with 'rmSync' fixed the issue. The problem was likely caused by the presence of files and subdirectories, which prevented the function from removing everything altogether.
The 'fs-extra.remove' function didn't remove the previous manifest. Replacing it with 'rmSync' fixed the issue. The problem was likely caused by the presence of files and subdirectories, which prevented the function from removing everything altogether.