Open ogmzh opened 4 months ago
Can you try and provide a minimal reproduction repo or an open source project that triggers this?
I've been working with an NX monorepo and I've had this problem a couple of time. It got resolved just by closing and reopen zed
I can't provide an example right now but I am having the same issue with a turbo repo. it isn't happening with every package though!
meanwhile my team has moved from yarn 3 to pnpm and things are working fine now
Check for existing issues
Describe the bug / provide steps to reproduce it
I'm using nx and yarn 3 for a microfrontend monorepo react nextjs project, and I'm getting the "ts: Cannot find module 'react' or its corresponding type declarations" error every external dependency, i.e react, react-intl, mui/material, etc.
To note: everything works fine in VSCode, and for Zed, I can open a single react project just fine, the monorepo is giving me issues.
Environment
Zed: v0.145.1 (Zed) OS: macOS 14.5.0 Memory: 18 GiB Architecture: aarch64
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your Zed.log file to this issue.
zed.looog