My raspberry PI completely died for no reason overnight. Might have been the hardware that caused the problems.
I can run tsc on my computer just fine, but when I try to compile on my pi 3, tsc just wont respond. I have tried to reinstall typescript and tested it on simple example code. tsc --help does not respond either.