# Install fails out of the box

**URL:** https://discourse.roots.io/t/install-fails-out-of-the-box/30009
**Category:** sage
**Created:** 2025-10-18T20:54:13Z
**Posts:** 8
**Showing post:** 1 of 8

## Post 1 by @raffjones — 2025-10-18T20:54:13Z

```
failed to load config from /path/to/mysite.test/web/app/themes/mytheme/vite.config.js
error during build:
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/util.js'
is not defined by "exports" in /path/to/mysite.test/web/app/themes/mytheme/node_modules/@wordpress/dependency-extraction-webpack-plugin/package.json imported from /path/to/mysite/web/app/themes/mytheme/node_modules/@roots/vite-plugin/dist/index.js
```

On a clean install of the latest `roots/bedrock` + `roots/sage` combo. Usual instructions followed as per [Installing Sage WordPress Starter Theme | Sage Docs | Roots](https://roots.io/sage/docs/installation/)

Any ideas what is wrong?

---

_[View the full topic](https://discourse.roots.io/t/install-fails-out-of-the-box/30009)._
