This error indicates that there was probably a problem with the Tex Live Installation.


You can use the steps found here to manually install Tex Live:

https://mackichan.freshdesk.com/solution/articles/6000046747-tex-live-for-windows-and-mac-install-and-then-install-version-6-


For Windows only, MiKTeX can be used instead of TeX Live.  See the following:

https://mackichan.freshdesk.com/solution/articles/6000155453-using-miktex-with-swp-sw-and-windows


Typically, after installing the TeX implementation separately, the SW installation should be run with the TeX Live selection turned off.  This updates the filename database to include the extra typesetting specification files installed by SW.