# Getting started build fails

**URL:** <https://forums.balena.io/t/getting-started-build-fails/1244>\
**Category:** Product support\
**Tags:** raspberrypi3\
**Created:** [June 15, 2017, 3:33pm UTC](https://forums.balena.io/t/getting-started-build-fails/1244 "2017-06-15T15:33:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![thantzmon](https://avatars.discourse-cdn.com/v4/letter/t/7cd45c/32.png) [@thantzmon](https://forums.balena.io/u/thantzmon)\
**Post date:** [June 15, 2017, 3:33pm UTC](https://forums.balena.io/t/getting-started-build-fails/1244/1 "2017-06-15T15:33:19Z")

</div>

I am trying to follow the instructions on the Getting Started walkthrough on Raspberry Pi 3, but when I attempt to deploy the code, I get this error and then the build proceeds to fail:  
[Error] Build failed: The command ‘/bin/sh -c JOBS=MAX npm install --production --unsafe-perm && npm cache clean && rm -rf /tmp/\*’ returned a non-zero code: 1  
After Step 4 began, there were a lot of red messages, all related to npm.

---

<div class="post-metadata">

**Author:** ![thisisbrians](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/thisisbrians/32/442_2.png) [@thisisbrians](https://forums.balena.io/u/thisisbrians)\
**Post date:** [June 15, 2017, 3:58pm UTC](https://forums.balena.io/t/getting-started-build-fails/1244/3 "2017-06-15T15:58:33Z")

</div>

Try changing the line in question to:

```
RUN JOBS=MAX npm install --production --unsafe-perm && npm cache verify && rm -rf /tmp/*

```

The word “clean” has changed to “verify.”

---

<div class="post-metadata">

**Author:** ![thantzmon](https://avatars.discourse-cdn.com/v4/letter/t/7cd45c/32.png) [@thantzmon](https://forums.balena.io/u/thantzmon)\
**Post date:** [June 15, 2017, 4:02pm UTC](https://forums.balena.io/t/getting-started-build-fails/1244/4 "2017-06-15T16:02:50Z")

</div>

thank you! I have successfully built it now.
