May 29 10:27:11 AM npm ERR! code ENOTSUP
May 29 10:27:11 AM npm ERR! notsup Unsupported engine for @sveltejs/kit@1.0.0-next.345: wanted: {"node":">=16.7"} (current: {"node":"14.19.1","npm":"6.14.16"})
May 29 10:27:11 AM npm ERR! notsup Not compatible with your version of node/npm: @sveltejs/kit@1.0.0-next.345
May 29 10:27:11 AM npm ERR! notsup Not compatible with your version of node/npm: @sveltejs/kit@1.0.0-next.345
May 29 10:27:11 AM npm ERR! notsup Required: {"node":">=16.7"}
May 29 10:27:11 AM npm ERR! notsup Actual: {"npm":"6.14.16","node":"14.19.1"}
May 29 10:27:11 AM
May 29 10:27:11 AM npm ERR! A complete log of this run can be found in:
May 29 10:27:11 AM npm ERR! /opt/render/.cache/_logs/2022-05-29T14_27_11_669Z-debug.log```
Looks like something changed recently with Sveltekit that requires node 16.7+. Even on static sites with static adapter, this is causing deployments to fail, because Render is seemingly only supporting Node 14. Any plans to support 16?
Hi Ryan,
Thanks for reaching out.
You’ll want to ensure your local setup and Render environment are as close of as possible when it comes to versions of Node, NPM & your packages (e.g. ensure you have an up-to-date lock file in your repo).
You can specify the Node version on Render in various ways: Specifying a Node Version
Hope that helps
Alan
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.