# Deployment error for script provider

**URL:** <https://travis-ci.community/t/deployment-error-for-script-provider/2089>\
**Category:** Deployment\
**Tags:** script-deployment\
**Created:** [February 1, 2019, 9:05pm UTC](https://travis-ci.community/t/deployment-error-for-script-provider/2089 "2019-02-01T21:05:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![filips123](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/filips123/32/579_2.png) [@filips123](https://travis-ci.community/u/filips123)\
**Post date:** [February 1, 2019, 9:05pm UTC](https://travis-ci.community/t/deployment-error-for-script-provider/2089/1 "2019-02-01T21:05:57Z")

</div>

I get the error `failed to deploy` when I try to deploy to NPM using Yarn.

My repo is [https://github.com/filips123/EthAvatar.JS](https://github.com/filips123/EthAvatar.JS) and the build is [https://travis-ci.com/filips123/EthAvatar.JS/jobs/174780386](https://travis-ci.com/filips123/EthAvatar.JS/jobs/174780386).

Note that I manually published a new version to NPM, after build failed, so this should not be the case.

---

<div class="post-metadata">

**Author:** ![BanzaiMan](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/banzaiman/32/67_2.png) [@BanzaiMan](https://travis-ci.community/u/BanzaiMan)\
**Post date:** [February 1, 2019, 9:58pm UTC](https://travis-ci.community/t/deployment-error-for-script-provider/2089/2 "2019-02-01T21:58:30Z")

</div>

You have an array in the `script` for the script provider. This does not work. [https://docs.travis-ci.com/user/deployment/script](https://docs.travis-ci.com/user/deployment/script)
