VSCode安裝jshint插件報錯

Mac電腦上使用VSCode安裝jshint插件時提示以下錯誤:npm

Failed to load jshint library. 
Please install jshint in your workspace folder using 
'npm install jshint' 
or globally using 
'npm install -g jshint' 
and then press Retry.

按照提示,使用npm安裝jshintspa

npm install -g jshint

而後點擊重試,即大功告成插件

相關文章
相關標籤/搜索