Node doesn't recognize module refrences Node.js


Hi. I can't get webstorm to recognize the refrences to my module. As you can see from above the yargs module is installed, and NodeJS is configured as well. Hope you guys can help me out.

0
1 comment

yargs properties are generated dynamically and thus can't be resolved during static code analysis.

Installing typings (using npm install @types/yargs, or via the intention available on Alt+Enter - see https://www.jetbrains.com/help/webstorm/configuring-javascript-libraries.html#ws_jsconfigure_libraries_ts_definition_files) should help

 

0

Please sign in to leave a comment.