-
Notifications
You must be signed in to change notification settings - Fork 70
Closed
Labels
scope: dependenciesIssues or PRs about updating a dependencyIssues or PRs about updating a dependencyscope: upstreamIssue in upstream dependencyIssue in upstream dependencysolution: workaround availableThere is a workaround available for this issueThere is a workaround available for this issue
Description
What happens and why it is wrong
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
Environment
Versions
Node: 17.0.0
OS: macOS 12.0
yarn: 3.0.2
rollup: ^2.57.0 => 2.58.0
rollup-plugin-typescript2: ^0.30.0 => 0.30.0
typescript: ^4.4.3 => 4.4.4
rollup.config.js
`rollup.config.js`:
tsconfig.json
`tsconfig.json`:
package.json
`package.json`:
plugin output with verbosity 3
plugin output with verbosity 3:
yoeunes, cRicateau, 0xCAFEADD1C7, michaeldzjap, magnattic and 2 more
Metadata
Metadata
Assignees
Labels
scope: dependenciesIssues or PRs about updating a dependencyIssues or PRs about updating a dependencyscope: upstreamIssue in upstream dependencyIssue in upstream dependencysolution: workaround availableThere is a workaround available for this issueThere is a workaround available for this issue