I'm getting yargs.methodName is not a function with all yargs methods using ES6 imports in NodeJS without Babel

前端 未结 0 540
天涯浪人
天涯浪人 2021-01-14 08:47

So, I\'m doing a nodejs tutorial, but the tutorial isn\'t updated to ES6 and I just wanted to update the code as I go along. I get the program to run just fine using require

相关标签:
回答
  • 消灭零回复
提交回复
热议问题