neo-wallet-adapter icon indicating copy to clipboard operation
neo-wallet-adapter copied to clipboard

Error: 'JsonRpcTransport' was not found in '@neongd/json-rpc'

Open robliou opened this issue 1 year ago • 0 comments

Hello,

I've been trying to install the neo-wallet-adapter package into my React app. I followed the instructions, including installing all of the recommended dependencies. However, when I run my file (via npm start), I get the following error:

"ERROR in ./node_modules/@neongd/neo-dapi/dist/esm/neoDapiNodeAdapter.js 33:25-41

export 'JsonRpcTransport' (imported as 'JsonRpcTransport') was not found in '@neongd/json-rpc' (possible exports: BaseJsonRpcTransport, HttpConnection, PostMessageConnection, RpcError, StandardErrorCodes, WsConnection, formatErrorResponse, formatJsonRpcError, formatJsonRpcNotification, formatJsonRpcRequest, formatJsonRpcResult, getStandardErrorResponse, isHttpUrl, isJsonRpcError, isJsonRpcNotification, isJsonRpcPayload, isJsonRpcRequest, isJsonRpcResponse, isJsonRpcResult, isStandardErrorCode, isValidErrorCode, isWsUrl, parse, payloadId, stringify) "

Any idea what could be causing this? In particular, which package is causing this issue?

Thanks in advance,

robliou avatar Mar 10 '23 09:03 robliou