0

I installed in Windows 10 ASK CLI with

npm install -g ask-cli

without errors.

But the next step

ask new

results in the error:

Invalid json: C:\Users\user1\.ask\cli_config

Sure, the folder

C:\Users\user1\.ask

doesn't exist.

Is there something fundamentally wrong?

Konrad
  • 4,329
  • 10
  • 54
  • 88

2 Answers2

2

Yes. You haven't initialized the CLI with ask init which is the step that will ultimately generate the cli config file. Please read the installation docs again!

German
  • 10,263
  • 4
  • 40
  • 56
2

ASK CLI v2 replaces the ask init command with the ask configure command to configure the ASK CLI with your Amazon developer account credentials. See docs

Shakesbeer
  • 71
  • 6