75lb / command-line-args

A mature, feature-complete library to parse command-line options.
MIT License
679 stars 107 forks source link

cli.parse is not a functionNext #89

Closed mithlesh20apr closed 5 years ago

mithlesh20apr commented 5 years ago

It's showing parse is not a function. Please help how to solve this problem in the command line argument

C:\xampp\htdocs\final-course-mongo\findAndCursorsInNodeJSDriver\app.js:61 var options = cli.parse(); ^

TypeError: cli.parse is not a function at commandLineOptions (C:\xampp\htdocs\final-course-mongo\findAndCursorsInNo deJSDriver\app.js:61:23) at Object. (C:\xampp\htdocs\final-course-mongo\findAndCursorsInNo deJSDriver\app.js:6:15) at Module._compile (module.js:652:30) at Object.Module._extensions..js (module.js:663:10) at Module.load (module.js:565:32) at tryModuleLoad (module.js:505:12) at Function.Module._load (module.js:497:3) at Function.Module.runMain (module.js:693:10) at startup (bootstrap_node.js:191:16) at bootstrap_node.js:612:3

75lb commented 5 years ago

Hi.. Could you send some code to help me reproduce this issue? I need to see it failing. Which version of node are you using? Which version of command-line-args? Show me your failing code, please.

75lb commented 5 years ago

closing until I receive requested info