loud-apple-6481
09/16/2025, 7:47 PMtall-airline-16756
09/16/2025, 7:48 PMtall-airline-16756
09/16/2025, 7:48 PMloud-apple-6481
09/16/2025, 7:48 PMtall-airline-16756
09/16/2025, 7:49 PMpackage.json. If it’s not there, you can add it by running: pnpm add @radix-ui/react-dismissable-layer
2. Check Package Manager and Lockfile: Since LiveKit projects use pnpm, make sure your pnpm-lock.yaml is up to date and resolving correctly.
3. Install Peer Dependencies: It’s important that your React and React DOM versions are compatible. If any peer dependencies are missing, you can install them with: pnpm add react react-dom
4. Clear Cache and Reinstall: Sometimes, lockfile inconsistencies can cause issues. You can try forcing a clean install by running: `pnpm install --force`or pnpm cache clean
pnpm install
5. Verify Import Syntax: Double-check that you’re importing the module correctly: import { DismissableLayer } from '@radix-ui/react-dismissable-layer';
6. Review Your Project’s Dependencies: Lastly, please ensure you’re working from the correct repository and that all dependencies have been properly installed.
If you’re still running into trouble after these steps, don’t hesitate to reach out. I’m here to help you get this sorted! Sources: web/pnpm-lock.yaml | frontend/package-lock.json | web/pnpm-lock.yaml | Example Applications | livekit/livekit_composite | DeepWiki | pnpm-lock.yamlloud-apple-6481
09/16/2025, 7:53 PMtall-airline-16756
09/16/2025, 7:53 PMnpm install
2. Install Missing Packages: If you run into errors, you can manually add any missing packages like this: npm install @radix-ui/react-dismissable-layer
3. Check Peer Dependencies: Make sure your React and React DOM versions are compatible by running: npm install react react-dom
4. Clear Cache and Reinstall: If things still aren’t quite right, try clearing the npm cache and reinstalling everything: npm cache clean --force
rm -rf node_modules package-lock.json
npm install
That said, for the smoothest experience and to avoid any unexpected troubles, I warmly recommend sticking with pnpm as it’s what LiveKit projects are designed around. I’m here if you need any more help!