Skip to content

A preset isn't installed

error: the preset @acme/axle-preset that axle.toml:1 extends isn't installed
hint: Add @acme/axle-preset to the repository's devDependencies and install it with the package manager, or fix the name in extends.

extends names a package, and Axle found no folder with that name in node_modules at the repository root or above it. Usually the packages aren’t installed yet, or the preset isn’t a dependency of the repository.

Add the preset to the root package.json as a dev dependency:

Terminal window
pnpm add -D @acme/axle-preset

A path to a file in the repository has to start with ., such as ./config/axle.base.toml; otherwise Axle looks for a package.