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

modules: throw an error for invalid package.json main entries #26823

Closed
wants to merge 1 commit into from

Commits on Mar 24, 2019

  1. modules: throw an error for invalid package.json main entries

    We currently ignore invalid `main` entries in package.json files.
    This does not seem to be very user friendly as it's certainly an
    error if the `main` entry is not a valid file name. So instead of
    trying to resolve the file otherwise, throw an error immediately to
    improve the user experience.
    
    Fixes: nodejs#26588
    BridgeAR committed Mar 24, 2019
    Configuration menu
    Copy the full SHA
    9b7a219 View commit details
    Browse the repository at this point in the history