Error when downloading blockstack cli

Hi @moxiegirl,

When downloading the blockstack cli, I encounter the following error:

PS C:\Users\Owner\cli-blockstack> npm run build

[email protected] build C:\Users\Owner\cli-blockstack
tsc && chmod +x lib/index.js

src/cli.ts:2414:9 - error TS2345: Argument of type ‘(tokenList: { tokens: string[]; }) => Promise<{ ‘token’: string; ‘amount’: string; }[]>’ is not assignable to parameter of type ‘(value: string[]) => { ‘token’: string; ‘amount’: string; }[] | PromiseLike<{ ‘token’: string; ‘amount’: string; }[]>’.
Types of parameters ‘tokenList’ and ‘value’ are incompatible.
Property ‘tokens’ is missing in type ‘string[]’ but required in type ‘{ tokens: string[]; }’.

2414 .then((tokenList : { tokens: string[] }) => {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

src/cli.ts:2414:24
2414 .then((tokenList : { tokens: string[] }) => {
~~~~~~
‘tokens’ is declared here.

Found 1 error.

npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] build: tsc && chmod +x lib/index.js
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

I’m following these instructions and am using Windows 10

@davisl123.id.blockst Thank you for reporting this. Can you log any future problems as issues on the related repository?

I’ve created this issue for you. I’ll respond there after I test this.

Thanks!

Should be fixed now. Please try again?

I tried again. But now I just get this error:
PS C:\Users\Owner\cli-blockstack> npm run build

[email protected] build C:\Users\Owner\cli-blockstack
tsc && chmod +x lib/index.js

‘chmod’ is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: tsc && chmod +x lib/index.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.