WebStorm - Unresolved variable or type - Sails / module.export [duplicate]
问题 This question already has answers here : Webstorm 7 cannot recognize node API methods (5 answers) Closed 1 year ago . Trying to fix WebStorm v11.0.4 warnings in JavaScript. Lots of unresolved variable or type errors for custom types in SailsJS application, such as this one: I already enabled Node.js in WebStorm. Also, don't know if it is linked, but cannot see "Node Globals" as a library to enable (see pictures below). Now, I'm clearly not a JavaScript pro. There is a file called DataService