# RuntimeException no composer.json present in current directory

**URL:** https://discourse.roots.io/t/runtimeexception-no-composer-json-present-in-current-directory/19374
**Category:** trellis
**Created:** 2020-10-25T11:14:58Z
**Posts:** 16
**Showing post:** 7 of 16

## Post 7 by @JordanC26 — 2020-10-30T10:38:04Z

Anyone with the issue of Trellis automatically updating to version 2.0. See this response on Github, it’s exactly what I’ve used and works fine, sticking to the version you define.

> <https://github.com/roots/trellis/issues/1245#issuecomment-716165875>
>
> I've read the guidelines for Contributing to Roots Projects
> This request isn't a duplicate of an existing issue (well, it is....

If you make this change, don’t modify/remove this. Leave as-is (if you’re forcing Trellis to use specific 1.x version.)

```
composer_global_packages:
 - { name: hirak/prestissimo }
```

---

_[View the full topic](https://discourse.roots.io/t/runtimeexception-no-composer-json-present-in-current-directory/19374)._
