Skip to content

Commit 2f07635

Browse files
committed
update guidance to change app setting to ~10
1 parent 4b86dd6 commit 2f07635

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/nodejsWorker.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ function validateNodeVersion(version) {
1818
} else if (supportedVersions.indexOf(major) < 0) {
1919
message = "Incompatible Node.js version. The version you are using is "
2020
+ version +
21-
", but the runtime requires an LTS-covered major version (ex: 8.11.1 or 10.14.1). LTS-covered versions have an even major version number (8.x, 10.x, etc.) as per https://github.com/nodejs/Release#release-plan. "
22-
+ "For deployed code, change WEBSITE_NODE_DEFAULT_VERSION in App Settings. Locally, install or switch to a supported node version (make sure to quit and restart your code editor to pick up the changes).";
21+
", but the runtime requires an LTS-covered major version. LTS-covered versions have an even major version number (8.x, 10.x, etc.) as per https://github.com/nodejs/Release#release-plan. "
22+
+ "For deployed code, change WEBSITE_NODE_DEFAULT_VERSION to '~10' in App Settings. Locally, install or switch to a supported node version (make sure to quit and restart your code editor to pick up the changes).";
2323
}
2424
// Unknown error
2525
} catch(err) {

0 commit comments

Comments
 (0)