Visitar URL original
Package tslib has been ignored because it contains invalid configuration · Issue #170 · microsoft/tslib · GitHub
Skip to content

Package tslib has been ignored because it contains invalid configuration #170

Open

Description

When launching React Native app, I have a warning which says that tslib package is ignored :

warn Package tslib has been ignored because it contains invalid configuration. Reason: Package subpath './package.json' is not defined by "exports" in /Users/xxx/node_modules/tslib/package.json

Any plan to fix this warning ? It happens on some NodeJS libs.

Activity

  1. monahans commented on Jan 31, 2022

    @monahans

    This is happening for me as well!

  2. maneetgoyal commented on Jun 8, 2022

    @maneetgoyal

    Getting:

    (node:52405) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at /gfgfdgfd/node_modules/tslib/package.json.
    Update this package.json to use a subpath pattern like "./*".
    

    macOS | Node 16

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