pyth-network / pyth-crosschain

Crosschain Pyth programs and utilities
https://pyth.network
Other
154 stars 209 forks source link

Error: Cannot find module 'rpc-websockets/dist/lib/client' #1838

Open EduardIshmukhametov opened 3 months ago

EduardIshmukhametov commented 3 months ago

I have got this error when I tried run your example code https://docs.pyth.network/price-feeds/use-real-time-data/solana#price-update-accounts

`Error: Cannot find module 'rpc-websockets/dist/lib/client' Require stack:

kskalski commented 4 days ago
  "dependencies": {
..
    "rpc-websockets": "7.11.0",
}

seems to fix this problem