No matter what I do I cannot get this deploy to run using the docs in readme.md. Keep getting errors like this:
$ npm run sls deploy --stage dev --region us-east-1
> [email protected] sls /Users/jloh/urshortener
> sls "deploy" "dev" "us-east-1"
Serverless Error ---------------------------------------
Serverless command "deploy dev" not found
Run "serverless help" for a list of all available commands.
Get Support --------------------------------------------
Docs: docs.serverless.com
Bugs: github.com/serverless/serverless/issues
Forums: forum.serverless.com
Chat: gitter.im/serverless/serverless
Your Environment Information -----------------------------
OS: darwin
Node Version: 6.11.1
Serverless Version: 1.17.0
npm ERR! Darwin 15.6.0
npm ERR! argv "/Users/jloh/.nvm/versions/node/v6.11.1/bin/node" "/Users/jloh/.nvm/versions/node/v6.11.1/bin/npm" "run" "sls" "deploy" "--stage" "dev" "--region" "us-east-1"
npm ERR! node v6.11.1
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] sls: `sls "deploy" "dev" "us-east-1"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] sls script 'sls "deploy" "dev" "us-east-1"'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the serverless-url-shortener package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! sls "deploy" "dev" "us-east-1"
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs serverless-url-shortener
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls serverless-url-shortener
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/jloh/urshortener/npm-debug.log