It has been reported that the npm install sometimes fails and it can't recover until manually cleaning the cache. This PR wraps the installation of the extension in a try/catch, and if it fails, it cleans the cache (npm cache clean --force) and tries again.
It has been reported that the
npm install
sometimes fails and it can't recover until manually cleaning the cache. This PR wraps the installation of the extension in a try/catch, and if it fails, it cleans the cache (npm cache clean --force
) and tries again.