Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Configuration warning at 'provider.runtime'" - Any way to suppress this or add "dart" to the recognized runtimes? #1

Open
MichaelCharles opened this issue Jan 30, 2021 · 1 comment

Comments

@MichaelCharles
Copy link

The full output looks like this,

personal/localnews_rss_lambda/hello via ⬢ v14.2.0
➜ sls invoke -f hello -vvv
Serverless: Configuration warning at 'provider.runtime': should be equal to one of the allowed values [dotnetcore2.1, dotnetcore3.1, go1.x, java11, java8, java8.al2, nodejs10.x, nodejs12.x, provided, provided.al2, python2.7, python3.6, python3.7, python3.8, ruby2.5, ruby2.7]
Serverless:
Serverless: Learn more about configuration validation here: http://slss.io/configuration-validation
Serverless:
{
    "body": "{\"message\":\"hello ba44783f-4d59-4445-a817-4764466f93e9\"}",
    "isBase64Encoded": false,
    "statusCode": 200,
    "headers": {
        "Content-Type": "application/json"
    }
}

It's showing up as a warning in Vscode as well.

Image of Vscode

@katallaxie
Copy link
Owner

There is a way to do it, but this requires a bit more work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants