You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was running the template with node 16 and getting the following error:
% npm start
> pimlico-tutorial-template@1.0.0 start
> tsx index.ts
HttpRequestError: HTTP request failed.
URL: https://rpc.ankr.com/eth_sepolia
Request body: {"method":"eth_chainId"}
Details: Request is not defined
Version: viem@2.9.23
at Object.request (file:///Users/user/dev/pimlico-tutorial-1/node_modules/viem/utils/rpc/http.ts:137:15)
at fn (file:///Users/user/dev/pimlico-tutorial-1/node_modules/viem/clients/transports/http.ts:124:19)
at request (file:///Users/user/dev/pimlico-tutorial-1/node_modules/viem/clients/transports/http.ts:129:39)
at withRetry.delay.count.count (file:///Users/user/dev/pimlico-tutorial-1/node_modules/viem/utils/buildRequest.ts:104:18)
at attemptRetry (file:///Users/user/dev/pimlico-tutorial-1/node_modules/viem/utils/promise/withRetry.ts:44:22)
Updating to node 18 fixed the issue.
The text was updated successfully, but these errors were encountered:
I was running the template with node 16 and getting the following error:
% npm start
> pimlico-tutorial-template@1.0.0 start
> tsx index.ts
HttpRequestError: HTTP request failed.
URL: https://rpc.ankr.com/eth_sepolia
Request body: {"method":"eth_chainId"}
Details: Request is not defined
Version: viem@2.9.23
at Object.request (file:///Users/user/dev/pimlico-tutorial-1/node_modules/viem/utils/rpc/http.ts:137:15)
at fn (file:///Users/user/dev/pimlico-tutorial-1/node_modules/viem/clients/transports/http.ts:124:19)
at request (file:///Users/user/dev/pimlico-tutorial-1/node_modules/viem/clients/transports/http.ts:129:39)
at withRetry.delay.count.count (file:///Users/user/dev/pimlico-tutorial-1/node_modules/viem/utils/buildRequest.ts:104:18)
at attemptRetry (file:///Users/user/dev/pimlico-tutorial-1/node_modules/viem/utils/promise/withRetry.ts:44:22)
I was running the template with node 16 and getting the following error:
Updating to node 18 fixed the issue.
The text was updated successfully, but these errors were encountered: