serverless / serverless/serverless

serverless create --help errors out

Open
#6,002 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

cat/template enhancement
Dominant language
JavaScript
Stars
46.9k
Forks
5.7k
Avg merge
10h 7m
Merged PRs (30d)
57

Description

This is a Bug Report

Description

  • What went wrong?
    running serverless create --help like the docs said to look at available templates fails
  • What did you expect should have happened?
    see a list of available templates
  • What was the config you used?
    none yet
  • What stacktrace or error message from your provider did you see?
 
  obj must be an Array or an Object
 
     For debugging logs, run again after setting the "SLS_DEBUG=*" environment variable.
 
  Get Support --------------------------------------------
     Docs:          docs.serverless.com
     Bugs:          github.com/serverless/serverless/issues
     Issues:        forum.serverless.com
 
  Your Environment Information ---------------------------
     OS:                     darwin
     Node Version:           11.13.0
     Serverless Version:     1.40.0 

Similar or dependent issues:

  • none found from a cursory search

Additional Data

  • Serverless Framework Version you're using: 1.40.0
  • Operating System: macOS 10.14.4 (18E226)
  • Stack Trace:
  • Provider Error messages:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the documented serverless create --help command and reproduce the failure with Serverless 1.40.0, using SLS_DEBUG=* if needed. Trace the command until the TypeError occurs and verify that the command lists available templates instead of erroring.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.