# Error on "deploy | WordPress Installed?" task

**URL:** https://discourse.roots.io/t/error-on-deploy-wordpress-installed-task/5116
**Category:** trellis
**Created:** 2015-10-24T22:57:04Z
**Posts:** 13
**Showing post:** 9 of 13

## Post 9 by @connormfreeman — 2015-10-28T05:47:46Z

@fullyint Yes this is failing on the “Run npm install” task. My `local_path` is correct, I’m going against the convention by having a singular Trellis install with multiple WordPress installations. So for me it’s `dev/trellis` and `dev/example.com`

I made a mistake in the output path in the previous error message ([7](https://discourse.roots.io/t/error-on-deploy-wordpress-installed-task/5116/7?u=connormfreeman)). Using the `{{ project.local_path }}`in my `finilize-build.yml` file I was actually getting the following error:

```
failed: [104.131.113.87] => {"failed": true, "rc": 258}
msg: cannot change to directory '/Users/connor/dev/example.com/web/app/themes/my_theme': path does not exist
```

I accidentally mis-copied the error message from when I had tried what OP was trying in [5016](https://discourse.roots.io/t/deployment-with-the-new-trellis-hooks/5016) and using `{{ deploy_helper.current_path }}` in the `deploy.yml` file.

* * *

So just to clarify, I am getting a completed deployment to my DO staging server with `deploy_finalize_after: "{{ playbook_dir }}/custom-hooks/finalize-build.yml"` in my `deploy.yml`

This could stem from my inexperience with ansible so I’m going to do some reading before I keep pressing for answers. In the mean time I think I can manage with just running the final build commands on the staging environment.

---

_[View the full topic](https://discourse.roots.io/t/error-on-deploy-wordpress-installed-task/5116)._
