# Deployer ERROR: Task sw:build failed!

**URL:** <https://forum.shopware.com/t/deployer-error-task-sw-build-failed/100509>\
**Category:** Shopware 6 (German)\
**Tags:** general\
**Created:** [13. Juli 2023 um 12:49 UTC](https://forum.shopware.com/t/deployer-error-task-sw-build-failed/100509 "2023-07-13T12:49:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Genjiro](https://avatars.discourse-cdn.com/v4/letter/g/85e7bf/32.png) [@Genjiro](https://forum.shopware.com/u/Genjiro)\
**Post date:** [13. Juli 2023 um 12:49 UTC](https://forum.shopware.com/t/deployer-error-task-sw-build-failed/100509/1 "2023-07-13T12:49:34Z")

</div>

Hallo,

ich möchte per Deployer deployen. Dazu bin ich dieser Anleitung gefolgt: [Deployment with Deployer - Shopware Developer](https://developer.shopware.com/docs/guides/hosting/installation-updates/deployments/deployment-with-deployer#migrating-existing-instance-to-deployer-structure)  
Ich benutze Deployer 7 und Bitbucket pipelines.

Das deploy Script läuft soweit durch bis es hier hängenbleibt:

```auto
ERROR: Task sw:build failed!
`run cd /usr/home/user/public_html/deployment/staging/releases/6 && bash bin/build-js.sh`
` error in deploy.php on line 64:`

```

Dort steht:

```auto
task('sw:build', static function () {
    run('cd {{release_path}} && bash bin/build-js.sh');
});

```

Zeile 64: `run('cd {{release_path}} && bash bin/build-js.sh');`

Brauche ich eine Datenbank dazu?  
Muss ich Docker in der Pipeline benutzen?
