当前位置: 代码迷 >> 综合 >> phpstorm webstorm “Unresolved function or method” for “require”
  详细解决方案

phpstorm webstorm “Unresolved function or method” for “require”

热度:9   发布时间:2023-12-19 09:15:17.0

(stackoverflow)[https://stackoverflow.com/questions/20136714/how-can-i-fix-webstorm-warning-unresolved-function-or-method-for-require-fi]

enable Node.js Globals predefined library in Settings/Languages & Frameworks/JavaScript/Libraries

开启IDE的相关配置!

截图

  相关解决方案