Skip to content

Better error message when installing a file name instead of the directory #8977

@BobFrankston

Description

@BobFrankston

I want to import definitions, so I entered the path to a file instead of the directory. Of course, it said no package.json. It would take a few lines of code to say I typed in a pathname instead of the directory. This would give me a solution and not confuse me, since I was already in the wrong mindset.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions