npmalexa-skills-kitask-cli

Simple ASK CLI install in windows not working


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?


Solution

  • 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!