Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

does not properly detect resolutions #139

Open
runspired opened this issue Oct 1, 2022 · 0 comments
Open

does not properly detect resolutions #139

runspired opened this issue Oct 1, 2022 · 0 comments

Comments

@runspired
Copy link

pnpm and yarn both allow "resolutions" or "overrides", a mechanism for forcing a specific dependency onto a specific version. This includes the ability to point to a fully different package if necessary.

Dependency Checker does not check for these resolutions, leading it to error when it should likely just warn.

For instance using pnpm override like so will fail:

{
	"pnpm": {
		"overrides": {
			"ember-auto-import": "@runspired-forks/[email protected]"
		}
	}
}

with an error like so:

Missing yarn packages: 
Package: ember-auto-import
  * Specified: ^2.4.2
  * Installed: (not installed)

Run `yarn` to install missing dependencies.



Stack Trace and Error Report: /var/folders/51/51f8s9mn649fd4qbcmc998_m0000gp/T/error.dump.c0095d2c4be470061dd809f60478b47b.log
An error occurred in the constructor for ember-cli-dependency-checker at /Users/cthoburn/github/auditboard/auditboard-frontend/node_modules/.pnpm/[email protected][email protected]/node_modules/ember-cli-dependency-checker

 ELIFECYCLE  Command failed with exit code 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant