Custom errors turned off and enabled .ts to be served