raml-serverless icon indicating copy to clipboard operation
raml-serverless copied to clipboard

Cannot read property 'split' of undefined

Open sysboss opened this issue 7 years ago • 0 comments

Getting the following error:

$ sls raml
 
  Type Error ---------------------------------------------
 
  Cannot read property 'split' of undefined

Reproduce:

  1. Install npm install --save raml-serverless
  2. Add raml-serverless to your serverless.yml
$ git diff serverless.yml
 plugins:
   - serverless-python-requirements
+  - raml-serverless
  1. sls raml > docs.raml

Node version: v6.10.1 Serverless version 1.18.0

sysboss avatar Jul 31 '17 21:07 sysboss