Skip to content

Error: Failed to load plugin 'import' declared in '.eslintrc': Cannot find module 'typescript/package.json' 2.27.0 #2665

Closed
@DerekWW

Description

@DerekWW

Lint jobs suddenly started failing with the following:

Error: Failed to load plugin 'import' declared in '.eslintrc': Cannot find module 'typescript/package.json'

After some digging it appears that 2.27.0 of eslint-plugin-import is breaking my pipeline. I have pinned to 2.26.0 and that has solved my issue. I have not investigated what the root cause may have been.

Node: 14.15.4
ESlint: 7.32.0

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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy