tslib icon indicating copy to clipboard operation
tslib copied to clipboard

Package tslib has been ignored because it contains invalid configuration

Open azuken opened this issue 3 years ago • 2 comments

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.

azuken avatar Jan 26 '22 09:01 azuken

This is happening for me as well!

monahans avatar Jan 31 '22 14:01 monahans

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

maneetgoyal avatar Jun 08 '22 11:06 maneetgoyal