> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dynamic.xyz/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Cannot resolve rpc-websockets

If you are seeing an error like `Module not found: Can't resolve 'rpc-websockets/dist/lib/client.cjs'` when trying to use the SDK, you can fix this by adding the following to your `package.json` file:

> [!WARNING]
>
> Note that even if you are not using Solana, you still need to include the `@solana/web3` line below. This will be fixed in the next major SDK release (V3).

```json npm theme={"system"}
"overrides": {
  "rpc-websockets": "7.10.0",
  "@solana/web3.js": "1.91.6"
},
```

```json yarn theme={"system"}
"resolutions": {
  "rpc-websockets": "7.10.0",
  "@solana/web3.js": "1.91.6"
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.