When there is an issue with a script library included with the 'script-include-table' CMP simply fails with the error "Unable to link compiled script class".
The steps to debug issues are as follows