Skip to content

Node.js: wrong dependencies result #127

Open

Description

@extempl

Although it doesn't break the process, it is not really correct to install the lib package as a dependency, when you found import LocalLib from "lib/LocalLib" string.

Not saying about the invalid "/lib": "latest" when the import path is absolute.

Also, (this is probably a different, yet, very related, request), I'd like to be able to include by name, so I use jsconfig.json, where I can set "rootDirs": ["./lib"] and then import LocalLib from "LocalLib" which currently lead to another error in the console about package Not found.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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