# Eleventy build command - is "npx @11ty/eleventy" correct?

**URL:** <https://answers.netlify.com/t/eleventy-build-command-is-npx-11ty-eleventy-correct/12925>\
**Category:** Support\
**Created:** [April 21, 2020, 6:30am UTC](https://answers.netlify.com/t/eleventy-build-command-is-npx-11ty-eleventy-correct/12925 "2020-04-21T06:30:05Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![fraserwaters](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/fraserwaters/32/12356_2.png) [@fraserwaters](https://answers.netlify.com/u/fraserwaters)\
**Post date:** [June 18, 2020, 11:23am UTC](https://answers.netlify.com/t/eleventy-build-command-is-npx-11ty-eleventy-correct/12925/4 "2020-06-18T11:23:02Z")

</div>

Hi. I’m trying to deploy my first attempt at a 11ty site to Netlify but my build command keeps bombing out with a 127 exit code, i think this is related to what you guys have described but i could do with a hand from someone with a bit more experience.

Error is : Command failed with exit code 127: eleventy

Build command is set to : eleventy

package.json contains:

“scripts”: {  
“test”: “echo “Error: no test specified” && exit 1”,  
“build”: “npx eleventy”,  
“serve”: “npx eleventy --serve”,  
“debug”: “DEBUG=\* npx eleventy”  
},

Also my publish dir is : publish: /opt/build/repo/\_site  
But i specified \_site in the Build settings on Netlify.

Sorry for the newbie questions.

---

_[View the full topic](https://answers.netlify.com/t/eleventy-build-command-is-npx-11ty-eleventy-correct/12925)._
