#17异常处理:Use of deprecated folder mapping "./" in the "exports" field

lencxlencx2022/03/30

node version: v16.10.0

# 具体原因可以查看:https://github.com/microsoft/tslib/issues/134

(node:85486) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the
 "exports" field module resolution of the package at
/Users/lencx/github/dev/node_modules/tslib/package.json.
Update this package.json to use a subpath pattern like "./*".
(Use `node --trace-deprecation ...` to show where the warning was created)

解决办法:不使用 node v16.x,如 v17.x 即可解决

License Copyright © 2022-present lencx