I have paths to Node and NPM in both my user defined environment variable `PATH` and in system variable `Path`.

For node: `C:\Program Files\nodejs`

For npm: `C:\Users\Username\AppData\Roaming\npm`

Now `node` and `npm` are recognized by Windows `Command Prompt` but not by WebStorm's terminal. I get error: 

> 
> 'node' is not recognized as an internal or external command
> 
> 
> 

Does anyone know what is problem? I could use WebStorm's terminal normally till today, but something went wrong and now I'm stuck.

EDIT:

`echo %PATH%` screenshot:

[![enter image description here](https://i.stack.imgur.com/05jLs.png)](https://i.stack.imgur.com/05jLs.png)

```
Settings/Tools/Terminal  

```

screenshot:

[![enter image description here](https://i.stack.imgur.com/k8mLX.png)](https://i.stack.imgur.com/k8mLX.png)