To resolve this issue, directly edit the TypeScript configuration in the .idea project directory. Within the project structure, go to the .idea directory, then find and open the typescript -compiler.xml file, as shown below. 
Now add the following xml option element after "useConfig" (be sure to use the path that matches your node installation):
<option name="nodeInterpreterTextField" value="$PROJECT_DIR$/../../node/bin/node" />
Be sure to change the directory path to your node instance.

Unfortunately, we redefine this solution every time you edit and save your settings. Hopefully IDEA will be fixed soon.
source share