watson-developer-cloud / speech-to-text-utils

Speech to text CLI that helps you manage speech customizations.
http://npmjs.com/package/watson-speech-to-text-utils
Apache License 2.0
4 stars 10 forks source link

ERROR "Converting circular structure to JSON" #4

Closed swizardlv closed 7 years ago

swizardlv commented 7 years ago

I got this error returned when execute "watson-speech-to-text-utils set-credentials -u -p"

image

nfriedly commented 7 years ago

Confirmed - I can reproduce this with the credentials from the Node SDK's integration tests.

~/language-translator-nodejs (master) $ watson-speech-to-text-utils set-credentials -u username -p password
401 - Not Authorized
~/language-translator-nodejs (master) $ watson-speech-to-text-utils set-credentials -u '[snip]' -p '[snip]'
TypeError: Converting circular structure to JSON
~/language-translator-nodejs (master) $ node -v
v7.1.0
~/language-translator-nodejs (master) $ npm -v
3.10.9
~/language-translator-nodejs (master) $ npm ls -g watson-speech-to-text-utils --depth 0
/Users/nfriedly/.nvm/versions/node/v7.1.0/lib
└── watson-speech-to-text-utils@0.1.2 
germanattanasio commented 7 years ago

fixed in e0743ffc2743518892b855e8b85d01e7ec45eeb3