Webstorm 7 cannot recognize node API methods

后端 未结 5 1313
南旧
南旧 2020-12-18 17:48

I just installed WebStorm. I\'m working on a small Node.js app.

I\'ve attached the Node.js source code, and when I click on the Node.js settings, I can see that it c

5条回答
  •  心在旅途
    2020-12-18 18:40

    For WebStorm 7 thru 10 (on OSX)…

    WebStorm → Preferences → Languages & Frameworks → Javascript → Libraries

    Select "Node.js Globals" and "Node.js vXXX Core Modules".

提交回复
热议问题