Lately I’ve been having an issue with the prototyper.
Anytime it wants to make changes to package.json, it gets stuck in a loop.
It begins making edits, and continues to ‘spin’.
My only assumption is that after making changes, it’s running npm install behind the scenes.
That’s fine, but I would like to be able to see that it’s doing that.
From my perspective, I just see that it’s hung on package.json, which is a relatively small file.
But, it doesn’t just loop on that file indefinitely, it repeats the loop up to 5 times.
After it seemingly fails or timesout, it then ‘Auto-fixes’ up to 4 times before it finally aborts.
This can take upwards of 15 minutes to complete.
I often tell the prototyper to not make changes to package.json until all other source code changes are complete and to handle that in a separate step.