ember-cli-dependency-checker is an Ember CLI addon designed to safeguard development workflows by automatically detecting and alerting developers to missing npm, pnpm, and historically, bower dependencies within an Ember project. It executes these checks before crucial `ember` commands run, preventing common errors and ensuring a consistent development environment. The latest stable version is 3.4.0. Releases are irregular, driven primarily by bug fixes, internal dependency updates, and enhancements like new package manager support (e.g., pnpm). Its key differentiator is its deep integration into the Ember CLI ecosystem, providing pre-command validation that other generic dependency checkers might not offer in the same seamless way.
npm install ember-cli-dependency-checkerVerified import paths — ran on the pinned version, not inferred.
Illustrates how to add the `ember-cli-dependency-checker` addon to an Ember CLI project and explains its automatic operation.
Ensure `ember-cli-dependency-checker` is on a compatible version with your `ember-cli` installation, as specified in its `peerDependencies`.
Migrate any remaining Bower dependencies to npm or yarn packages. Remove `bower.json` and any related Bower tooling from your project.
Always use a Node.js version officially supported by your current `ember-cli` version. Refer to the Ember CLI documentation for recommended Node.js versions.
Upgrade to `ember-cli-dependency-checker@3.4.0` or newer for improved pnpm support. Verify your monorepo setup is standard and consider checking the addon's source or issues for specific monorepo configurations if problems persist.
Run `npm install`, `yarn install`, or `pnpm install` to install all listed dependencies. If the package is intentionally removed, ensure it's also removed from `package.json`.
Ensure the addon is listed in your `package.json` `devDependencies` and run `npm install` (or `yarn install`/`pnpm install`). If issues persist, try `npx ember uninstall ember-cli-dependency-checker` followed by `npx ember install ember-cli-dependency-checker`.