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