Publishing error
Hi Andy @lambtron
First, thanks for creating this very useful app. Like you , I wish if I could publish Medium from CLI
I installed it thru npm and looks every thing is working fine except for the publishing .. here is a complete view of what I did .. Please advise if I am missing anything
`bash-4.3$ pwd /home/ajain/buzzfeed bash-4.3$ medium login
medium · Please open https://medium.com/me/settings in your browser.
· At the bottom of the page, under Integration Tokens, copy
· this description:
· "Medium-CLI basic publishing access."
· Then generate the new token and copy it.
Paste your Integration Token here: #####################################################################
· Authenticating into Medium..
· Saved!
bash-4.3$ medium publish (node:19796) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property 'split' of undefined bash-4.3$ ls articles bash-4.3$ cd articles/ bash-4.3$ ls test-post-from-medium-cli bash-4.3$ cd test-post-from-medium-cli/ bash-4.3$ ls index.md bash-4.3$ cat index.md
title: test post from medium command line interface tags: canonicalUrl: publishStatus: draft license: all-rights-reserved
Testing a post from medium command line interface bash-4.3$ `
btw - all the other three commands are working fine ..
Me too. Medium publish command didn't work at all and no related information founded.
Thanks for sharing. Let me see what might be the issue.
Hmm this works for me.
What OS are you using? And node/npm version?
Thanks!
Mac OSX el capitan
Node version is the latest.
However, I've turned to my personal blogger using Hugo.
Thanks again for your asking.
On Fri, May 12, 2017 at 11:04 AM, Andy Jiang [email protected] wrote:
Hmm this works for me.
What OS are you using? And node/npm version?
Thanks!
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/lambtron/medium-cli/issues/4#issuecomment-301146164, or mute the thread https://github.com/notifications/unsubscribe-auth/ABlYld4_3pnu4n9EzHnm7RuBAwqTITi1ks5r5J9GgaJpZM4L7zIr .
-- Jun Xiong, Ph.D. U.S. Geological Survey 2255 North Gemini Drive, Flagstaff, AZ, USA. Office: 928-556-7215