Closed ruXlab closed 6 years ago
Hey @ruXlab, there are two config files. ~/.nexmorc
contains your API key and secret which is what's used for nexmo balance
.
You need to create an application (which will create .nexmo-app
) and run nexmo user:create
in the same directory. This file contains an application ID and private key, so that you don't have to keep passing those values in for every command
Thank you for clarification
It would be better if error says something like create application first
as suggested command nexmo setup
will not help to resolve issue
Fixed on the beta branch now, can you please install the latest beta?
npm install -g nexmo-cli@beta
Steps to reproduce
I was trying to create a user using nexmo-cli(beta):
I double checked configuration, it seems working fine for other type of commands:
I have tried to remove
~/.nexmorc
file and setup client again usingnexmo setup XXX YYY
. Unfortunately it didn't helpSystem configuration
Node version:
v4.2.6
NPM version:3.5.2
Operating system: Ubuntu 16.04 64x nexmo-cli: 0.4.3-beta-2