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

report location of invalid package config #484

Open
Yoorkin opened this issue Nov 19, 2024 · 0 comments
Open

report location of invalid package config #484

Yoorkin opened this issue Nov 19, 2024 · 0 comments
Assignees

Comments

@Yoorkin
Copy link

Yoorkin commented Nov 19, 2024

Feature Request

When you are trying to remove a dependency from a project, if you remove the items in deps (in moon.mod.json) first, you will get this error:

error: No matching module was found for xxx/xxxx...

This is because the packages belonging to that module were imported in some moon.pkg.json files. It is hard to find the invalid moon.pkg.json when the project grows large. So, it is better to report the location of the config files, ideally:

In xxx/xxx/moon.pkg.json (line n): No matching module was found for xxx/xxxx
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

2 participants