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

problems with yarn berry / pnp setups #453

Open
alexanderkjeldaas opened this issue Dec 13, 2023 · 0 comments
Open

problems with yarn berry / pnp setups #453

alexanderkjeldaas opened this issue Dec 13, 2023 · 0 comments

Comments

@alexanderkjeldaas
Copy link

When using yarn berry, I am getting:

../../.yarn/__virtual__/rc-cascader-virtual-b23b4687e9/3/.yarn/berry/cache/rc-cascader-npm-3.20.0-70d36b442e-10c0.zip/node_modules/rc-cascader/lib/Cascader.d.ts:1:40 - error TS2307: Cannot find module '@rc-component/trigger/lib/interface' or its corresponding type declarations.

1 import type { BuildInPlacements } from '@rc-component/trigger/lib/interface';
                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Found 1 error in ../../.yarn/__virtual__/rc-cascader-virtual-b23b4687e9/3/.yarn/berry/cache/rc-cascader-npm-3.20.0-70d36b442e-10c0.zip/node_modules/rc-cascader/lib/Cascader.d.ts:1

using:

cat .yarnrc.yml

nodeLinker: pnp

however, with this, it will work:

cat .yarnrc.yml

nodeLinker: node-modules
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