1、WebStorm 编译器报错: Unresolved function or method require()
解决办法:
打开WebStorm 按照以下路径寻找
Preferences -> Languages & Frameworks -> Node.js and NPM -> Coding assistance for Node.js
勾选 Coding assistance for Node.js
配置后解决问题:
1、WebStorm 编译器报错: Unresolved function or method require()
解决办法:
打开WebStorm 按照以下路径寻找
Preferences -> Languages & Frameworks -> Node.js and NPM -> Coding assistance for Node.js
勾选 Coding assistance for Node.js
配置后解决问题: