Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning message "The toolkit requires ASK CLI to execute the commands" after installing the plugin #8

Closed
RonWang opened this issue Apr 23, 2019 · 3 comments
Labels
response needed use this if you need more information regarding the issue

Comments

@RonWang
Copy link
Contributor

RonWang commented Apr 23, 2019

Description:
After installing the VS Code extension, VSCode shows a warning that The toolkit requires ASK CLI to execute the commands, but the ask-cli is installed and the $PATH includes where the CLI resides. The check of the existence of "ask" command line fails and thus blocks the usage of plugin.

Steps to reproduce the issue:

  1. Work on a skill project in VSCode and quit the application directly (cmd+q in MAC OS).
  2. Re-open the plugin application directly, VSCode will open skill project where it's last time quited.
  3. Warning message will display.
  4. Re-open the project, plugin will work as normal.

Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
Mac
VS Code version:
v1.33.1

@RonWang RonWang added the response needed use this if you need more information regarding the issue label Apr 23, 2019
@RonWang
Copy link
Contributor Author

RonWang commented Apr 23, 2019

Checking with VSCode team to see how they manage the lifecycle of VSCode and its plugin when starting the application: microsoft/vscode#72235

@kenjdavidson
Copy link

kenjdavidson commented Apr 15, 2020

Noticed this too, but it's due to ASK CLI v2 not having the ask init -l option anymore, it looks like it was removed in v0.8.0. The documentation says it was moved to ask configure -l but that's not the case, it's just gone.

Activating extension 'ask-toolkit.alexa-skills-kit-toolkit' failed: ASK CLI is not functional. 
Command failed: /bin/sh -c ask init -l error: unknown option '-l' .

@nikhilym
Copy link
Contributor

The new extension version is completely decoupled of ASK CLI. Please upgrade to the latest version and try the features out. Closing this issue for now since this is on an earlier version. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
response needed use this if you need more information regarding the issue
Projects
None yet
Development

No branches or pull requests

3 participants