webstorm terminal cannot recognize 'sass' command, but it works in powershell or vscode


 

when I try run sass command, it shows as above, restart webstorm not working.
However when I try run it in vscode, it shows as below 

   
 

it also works in powershell as following

  

 

did I missing any setting in webstorm? I didn't do any setting in vscode or powershell

 

评论操作 固定链接

Does re-starting WebStorm help? What is a result of running where sass in PowerShell outside of the IDE?

0
评论操作 固定链接

no, restart not working, I should mention that first. got nothing when input where sass

0
评论操作 固定链接

@Huangluwan

where sass is to be used in cmd.exe.

For PS (PowerShell) use gcm sass (or full name: Get-Command sass)

where in PowerShell is an alias for Where-Object and it does different thing.

1
评论操作 固定链接

@Andriy Bazanov
thanks, I got location by using your command

0
评论操作 固定链接

what is a result of running  $env:Path -split ';' in Powershell outside of the IDE and in the built-in terminal? Also, is sass command resolved if you use cmd.exe as a shell?

0

请先登录再写评论。