Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

node v17 compat: Error loading tslib helper library. #78

Closed
aladdin-add opened this issue Oct 20, 2021 · 0 comments
Closed

node v17 compat: Error loading tslib helper library. #78

aladdin-add opened this issue Oct 20, 2021 · 0 comments

Comments

@aladdin-add
Copy link

Current Behavior

Error loading `tslib` helper library.
/Users/weiran/repo/dian/tsdx/node_modules/rollup-plugin-typescript2/dist/rollup-plugin-typescript2.cjs.js:25177
    throw e;
    ^

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './package.json' is not defined by "exports" in /Users/weiran/repo/dian/tsdx/node_modules/rollup-plugin-typescript2/node_modules/tslib/package.json

Expected behavior

Suggested solution(s)

Additional context

Your environment

  System:
    OS: macOS 12.0
    CPU: (8) x64 Intel(R) Core(TM) i7-1068NG7 CPU @ 2.30GHz
    Memory: 703.07 MB / 32.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 17.0.0 - /usr/local/bin/node
    Yarn: 1.22.10 - ~/.npm-global/bin/yarn
    npm: 8.1.0 - ~/.npm-global/bin/npm
    Watchman: 20200920.192359.0 - /usr/local/bin/watchman
  Browsers:
    Brave Browser: 83.1.10.93
    Chrome: 94.0.4606.81
    Edge: 94.0.992.50
    Safari: 15.1
  npmGlobalPackages:
    dts-cli: 0.19.2
    typescript: 4.4.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant