Closed mumeiyamibito closed 6 years ago
Which version of node are you using? node -v
Since rtm-cli uses some features from ECMAScript 6 (including assigning default function argument values, which is the error you're encountering), it requires a more recent version of node. From what I've tested it should work with node version >= 7.5.0.
Thanks for pointing this out and I'll add the node version to the README.
The version of my node which was obtained from default repository of LinuxMint 18.3 was 4.2.6. When node was upgraded to 9.4.0, rtm-cli works well. Thanks for replying and helping me.
I'm glad it's working!
I installed rtm-cli from npm but the app did not work by syntax error.
How can I use rtm-cli?
OS: LinuxMint 18.3 npm: 3.5.2