Tony Papousek 3597f4539d
fix(Templates): Fix runtime for azure-nodejs-typescript (#9106)
I receive the error `Error: Runtime nodejs12.x is not supported. Runtimes supported: nodejs10,nodejs12,python3.6,python3.7,python3.8,dotnet2.2,dotnet3.1` when trying to run the current version. Changing to just `nodejs12` helps.

Haven't done much testing on this (struggling with AZ auth and subscription lists), but this fix seems to suppress the error message and allow `sls offline` to run.

This value aligns with [the CONFIG.md doc](https://github.com/serverless/serverless-azure-functions/blob/master/docs/CONFIG.md), and should help prevent further occurrences of #6998 in this repo, as well as issue 393 in the [serverless-azure-functions repo](https://github.com/serverless/serverless-azure-functions).
2021-03-15 13:08:35 +01:00
..
2021-01-04 16:21:24 +01:00