-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[docs] updated Netlify adapter documentation to include AWS_LAMBDA_JS_RUNTIME (closes #2687) #2715
Conversation
…ify JavaScript functions
|
I wonder if rather than updating the docs, we can use Netlify's framework detector to specify Node 14 if not otherwise specified? https://github.com/netlify/framework-info/blob/main/src/frameworks/svelte-kit.json |
We could also set the https://github.com/netlify/framework-info/blob/39f9e3fff4370a23f1d62f76cc07bfda3b20e59b/src/frameworks/nuxt3.json#L19 |
PR for Let's leave this one open for the time being until we get a response on that one and test it out |
This makes sense until the PR for the Netlify framework detector is accepted. |
Unfortunately this won't work right now, but we're working on it, and nor will the framework detection code. I made a mistake when I added the Nuxt env vars so you can't use that approach. They're actually only used when running The current correct solution is to set |
Oops, I missed the comment that this won't work: #2715 (comment) Closing as a result of that comment |
Netlify defaults to using Node.js 12 as the runtime for JavaScript functions, but this version is no longer supported by SvelteKit, as noted in #2687. I have added the
AWS_LAMBDA_JS_RUNTIME
setting to the documentation for the Netlify adapter.