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 the names of missing modules #50

Merged
merged 1 commit into from
Nov 10, 2016

Conversation

robertknight
Copy link
Contributor

When updating fails due to modules not being installed at all, report
the names of modules to make fixing the problem easier.

Example new error message:

Some modules are not installed: express. Please install with 'npm install' first.

In my case, running "npm install" doesn't solve the problem because npm outdated --json --long --depth=0 returns entries without "current" fields for some packages which are installed. That is the real issue I've run into, but adding this information to the error message at least helped me figure out which packages the problem related to.

Fixes #49

When updating fails due to modules not being installed at all, report
the names of modules to make fixing the problem easier.

Fixes peerigon#49
@coveralls
Copy link

coveralls commented Sep 17, 2016

Coverage Status

Coverage increased (+0.1%) to 94.167% when pulling ebd2c11 on robertknight:report-missing-module-names into 2a7ad12 on peerigon:master.

@matthaias matthaias merged commit ea8c41b into peerigon:master Nov 10, 2016
@matthaias
Copy link
Member

Thanks, sorry for the delay! Published as v0.2.3.

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

Successfully merging this pull request may close these issues.

Report name of missing modules
3 participants