eleventy: "build.command" failed (Eleventy requires Node 10)

I’ve just updated a site to Eleventy 0.12.1 (from 0.7.1). Everything seems fine locally (WIndows 10 / WSL 1), but builds are now failing on Netlify. I’m getting "build.command" failed preceded by Eleventy requires Node 10. You will need to upgrade Node to use Eleventy!. Edit: Build log says it’s using Node v8.17.0

image

I’ve got the netlify-plugin-subfont Netlify plugin in there, which is probably noteworthy, but the error doesn’t suggest to me that the failure is there.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 17 (10 by maintainers)

Most upvoted comments

That’s as it was when it was failing. Clearing the build cache worked though 👍 Thank you @zachleat 😃

Ah, sorry—I’m a bit confused. Eleventy 0.12 requires Node 10+

https://github.com/11ty/eleventy/releases/tag/v0.12.0 and on the home page: https://www.11ty.dev/

image

You can control the Netlify Node version via a couple of different methods: https://docs.netlify.com/configure-builds/manage-dependencies/#node-js-and-javascript