Hi all, I'm getting the following on a new typescr...
# help
m
Hi all, I'm getting the following on a new typescript starter - I'm confused which repo I should be raising an issue against though? Is ServerlessPlugin the main serverless-bundle?
Copy code
Serverless: Deprecation warning: CLI options definitions were upgraded with "type" property (which could be one of "string", "boolean", "multiple"). Below listed plugins do not predefine type for introduced options:
             - ServerlessPlugin for "out"
            Please report this issue in plugin issue tracker.
            Starting with next major release, this will be communicated with a thrown error.
            More Info: <https://www.serverless.com/framework/docs/deprecations/#CLI_OPTIONS_SCHEMA>
t
What command are you running
m
serverless invoke local --function hello
j
From this error message it’s really hard to say. Just to double check what are the other plugins you have listed in the
serverless.yml
?
m
Copy code
"devDependencies": {
    "@types/aws-lambda": "^8.10.78",
    "@types/jest": "^26.0.24",
    "serverless-bundle": "4.3.1",
    "serverless-dotenv-plugin": "^3.9.0",
    "serverless-offline": "^7.0.0"
  },
  "dependencies": {}
It's not preventing anything, just thought I'd try and do the right thing and report it 🙂
j
Yeah thanks for brining it up! We just need to figure out if it’s caused by serverless-bundle. Would it possible to try commenting out the two other plugins and seeing if you still get that warning?
t
Looks like it's related to serverless-offline https://github.com/dherault/serverless-offline/issues/1211