I am encountering issues with the version mismatch of rpc-sockets.
After running npm ls rpc-websockets this is the output
+-- @solana/web3.js@1.95.8
| -- rpc-websockets@9.0.4
-- lighthouse-sdk-legacy@2.0.1
-- @solana/web3.js@1.91.7
-- rpc-websockets@7.11.2
This is the error I am encountering
Error: Package subpath './dist/lib/client' is not defined by "exports" in F:\Development\assertions-test\node_modules\rpc-websockets\package.json
And this is the code causing the problem
import {createUmi} from "@metaplex-foundation/umi";
import {createLighthouseProgram} from "lighthouse-sdk-legacy";
let umi = createUmi()
umi.programs.add(createLighthouseProgram())