# Production.WARNING: Skipping provider Roots Acorn View ViewServiceProvider because it requires a dependency that cannot be found

**URL:** https://discourse.roots.io/t/production-warning-skipping-provider-roots-acorn-view-viewserviceprovider-because-it-requires-a-dependency-that-cannot-be-found/21423
**Category:** sage
**Tags:** sage10
**Created:** 2021-09-11T12:44:53Z
**Posts:** 3

## Post 1 by @AurelianSpodarec — 2021-09-11T12:44:53Z

So, a previous developer created a theme, and now I’m trying to pick work off him, and I ran into this issue:

production.WARNING: Skipping provider [Roots\Acorn\View\ViewServiceProvider] because it requires a dependency that cannot be found. {“package”:"",“provider”:“Roots\Acorn\View\ViewServiceProvider”,“error”:“Target class [Roots\Acorn\Assets\AssetDirective] does not exist.”,“help”:“[https://roots.io/docs/acorn/troubleshooting](https://roots.io/docs/acorn/troubleshooting)”}

And I’m not sure what to do, and the link doesn’t even work.

---

## Post 2 by @strarsis — 2021-09-11T16:12:12Z

1. I assume this is a Sage 10-based theme, right?
2. Have you ran `composer install`? Is there a composer lockfile?
3. Do you get this warning on development/staging environment?

---

## Post 3 by @AurelianSpodarec — 2021-09-11T16:54:02Z

1. Yes. Sage 10.
2. I’ve done composer update and compser install multiple time. Yes.
3. Nope. I had to look in the logs.

I’ve re-done what you said as well, and the issue still applies.

---

## Post 4 by @system — 2021-10-23T12:45:52Z

This topic was automatically closed after 42 days. New replies are no longer allowed.
