marcy-terui / serverless-alexa-skills

Manage your Alexa Skills with Serverless Framework
https://www.npmjs.com/package/serverless-alexa-skills
MIT License
71 stars 13 forks source link

Not working #12

Closed aledalgrande closed 6 years ago

aledalgrande commented 6 years ago

I tried both your installation instructions variants, but I always get:

Serverless command "alexa" not found.

If I try the plugin install command on an empty dir I also get:

This command can only be run inside a service directory

What do I have to do to use this plugin?

Output:

$ serverless plugin install --name serverless-alexa-skills                                                       130 ↵ 
Serverless: Installing plugin "serverless-alexa-skills@latest" (this might take a few seconds...)
Serverless: Successfully installed "serverless-alexa-skills@latest"
Error: socket hang up
    at createHangUpError (_http_client.js:313:15)
    at TLSSocket.socketOnEnd (_http_client.js:416:23)
    at TLSSocket.emit (events.js:187:15)
    at TLSSocket.EventEmitter.emit (domain.js:442:20)
    at endReadableNT (_stream_readable.js:1081:12)
    at process._tickCallback (internal/process/next_tick.js:63:19)
$ sls alexa                                                                                                        1 ↵ 

  Serverless Error ---------------------------------------

  Serverless command "alexa" not found. Did you mean "list"? Run "serverless help" for a list of all available commands.

  Get Support --------------------------------------------
     Docs:          docs.serverless.com
     Bugs:          github.com/serverless/serverless/issues
     Issues:        forum.serverless.com

  Your Environment Information -----------------------------
     OS:                     darwin
     Node Version:           10.7.0
     Serverless Version:     1.28.0