eosrio / hyperion-history-api

Scalable Full History API Solution for Antelope (former EOSIO) based blockchains
https://hyperion.docs.eosrio.io
Other
125 stars 72 forks source link

pathComponents.at is not a function #132

Closed luoxiandong closed 1 year ago

luoxiandong commented 1 year ago

I request v1 compatible found some error: curl --header 'Content-type: application/json' -X POST "http://127.0.0.1:7000/v1/chain/get_block" -d '{"block_num_or_id": "281400906"}' display: { statusCode: 500, error: "Internal Server Error", message: "pathComponents.at is not a function" } How to solve?

igorls commented 1 year ago

This is solved by running on Node.js v18

YudaAdiPratama commented 3 months ago

@igorls pathComponents.at is not a function use nodejs v20