Skip to content

@definitelytyped/dtslint version '0.0.183' requires notNeededPackages.json file to exist #775

Open

Description

Invoking: dtslint types
dtslint@0.0.183
Error: ENOENT: no such file or directory, open '<path>/notNeededPackages.json'
Returned error code: 1
"<project_name>" failed to build.

Activity

  1. jakebailey commented on Oct 22, 2023

    @jakebailey
    Member

    Where are you trying to run this tooling outside of DefinitelyTyped itself? It's likely you will be better served by a tool like tsd or eslint-plugin-expect-type.

  2. kamontat commented on Oct 22, 2023

    @kamontat
    Author

    Jake Bailey (@jakebailey) Yes, I would like to test against multiple typescript versions (basically I would like to have my own DefinitelyTyped/DefinitelyTyped for internal usage)

    BTW tsd you mean this one right?

    ref: https://github.com/tsdjs/tsd

  3. jakebailey commented on Oct 22, 2023

    @jakebailey
    Member

    Yes, though I guess that tool doesn't check multiple versions. What aspect are you looking for? Just expect type? All of the other stuff is going to be somewhat DT specific, and we have recently greatly changed the layout of DT.

  4. kamontat commented on Oct 22, 2023

    @kamontat
    Author

    Jake Bailey (@jakebailey) Yes, just expect type.

  5. jakebailey commented on Oct 23, 2023

    @jakebailey
    Member

    Yeah, but unfortunately tsdjs/tsd#47 isn't yet fixed, so it's somewhat of a challenge.

    I suspect that if we were to fix the notNeededPackages thing, you'd just butt up against a new issue introduced by the huge pnpm monorepo migration, unfortunately.

  6. Maxim-Mazurok commented on Nov 30, 2023

    @Maxim-Mazurok
    Contributor

    Hi Jake Bailey (@jakebailey), I'm having pretty much the same issue, in more details here: #850

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