Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TSLint error:: Node interpreter path is incorrect. Please check interpreter settings

I am new to Angular. Curious to know whats the error. How to resolve it? I am using web storm IDE.

Image

like image 673
Kotha Avatar asked Jul 14 '17 17:07

Kotha


2 Answers

This is how I got rid of this warning in Intellij.

Change this:

enter image description here

to this:

enter image description here

like image 180
Ojonugwa Jude Ochalifu Avatar answered Nov 16 '22 06:11

Ojonugwa Jude Ochalifu


First of all, it has nothing to do with Angular. It's a tslint issue in your IDE.

It looks like you did not select the node interpreter in your tslint settings. In Webstorm go to Preferences --> Expand Languages & Frameworks --> Expand Typescript --> Select TSLint. If "Enable" is checked, you have to select the node interpretor. This is location of where your node installation. I use NVM, so here are my settings.

enter image description here

node interpreter : ~/.nvm/versions/node/v6.11.0/bin/node TSLint package : ~/WebstormProjects/search/node_modules/tslint

like image 7
RKG Avatar answered Nov 16 '22 05:11

RKG