Package tslib has been ignored because it contains invalid configuration

Open
#170 2 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
node.js, react-native, typescript

Research direction

Start by reproducing the warning while launching a React Native app and inspect tslib's package.json, especially its exports configuration. Done means the package is no longer ignored and the invalid-configuration warning no longer appears for this package.

Written by the indexing model from the issue text.

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.

Dominant language
TypeScript
Stars
1.3k
Forks
145
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/tslib

All issues in microsoft/tslib

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.