Skip to content

Update @solana.web3.js version in lighthouse-sdk-legacy #54

@alxalx14

Description

@alxalx14

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())

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions