1. The first workaround that users may be able to use would be through the gulp command gulp deploy --source (sourcefile)
Users can specifically deploy parts such as JavaScript by changing the sourcefile to JavaScript like gulp deploy --source javascript. Other examples include gulp deploy --source ssp-libraries, gulp deploy --source services and gulp deploy --source templates
It is advised not to use gulp deploy --source ssp-files since this command triggers the error as well
This method produces backups that are usable in the backup folder of File Cabinet
More info can be found under SuiteAnswers Article Gulp Command Reference Answer Id: 44459
2. The second workaround that users may be able to use would be through the File Cabinet
Initiate a gulp deploy and let it complete the file process
Once your gulp deploy asks you for a password, press Ctrl+C to cancel the progress
The gulp deploy task creates a new folder in the local project call “DeployDistribution”. Navigate to that folder
The folder contents should contain your files and uploading them to the file cabinet while replacing current files will work
Take note that this method does not produce backups
If you experience any problems that cannot be resolved using one of these approaches, please let us know right away in the case.