When I run the project with yarn start I got this error:
Getting routes for 1 USDC -> USDT...
{
error: TypeError: items.at is not a function or its return value is not iterable
at r (/Users/daro/projects/crypto/jupiter-core-example/node_modules/@jup-ag/core/src/lib/computeRouteInfos.ts:113:48)
at cartesianIterator.next ()
at cartesianIterator (/Users/daro/projects/crypto/jupiter-core-example/node_modules/@jup-ag/core/src/lib/computeRouteInfos.ts:113:12)
at cartesianIterator.next ()
at cartesian (/Users/daro/projects/crypto/jupiter-core-example/node_modules/@jup-ag/core/src/lib/computeRouteInfos.ts:117:44)
at forEach (/Users/daro/projects/crypto/jupiter-core-example/node_modules/@jup-ag/core/src/lib/computeRouteInfos.ts:221:41)
at Map.forEach ()
at walkTheTree (/Users/daro/projects/crypto/jupiter-core-example/node_modules/@jup-ag/core/src/lib/computeRouteInfos.ts:171:25)
at /Users/daro/projects/crypto/jupiter-core-example/node_modules/@jup-ag/core/src/lib/computeRouteInfos.ts:202:11
at Map.forEach ()
}
When I run the project with yarn start I got this error:
Getting routes for 1 USDC -> USDT... { error: TypeError: items.at is not a function or its return value is not iterable at r (/Users/daro/projects/crypto/jupiter-core-example/node_modules/@jup-ag/core/src/lib/computeRouteInfos.ts:113:48) at cartesianIterator.next ()
at cartesianIterator (/Users/daro/projects/crypto/jupiter-core-example/node_modules/@jup-ag/core/src/lib/computeRouteInfos.ts:113:12)
at cartesianIterator.next ()
at cartesian (/Users/daro/projects/crypto/jupiter-core-example/node_modules/@jup-ag/core/src/lib/computeRouteInfos.ts:117:44)
at forEach (/Users/daro/projects/crypto/jupiter-core-example/node_modules/@jup-ag/core/src/lib/computeRouteInfos.ts:221:41)
at Map.forEach ()
at walkTheTree (/Users/daro/projects/crypto/jupiter-core-example/node_modules/@jup-ag/core/src/lib/computeRouteInfos.ts:171:25)
at /Users/daro/projects/crypto/jupiter-core-example/node_modules/@jup-ag/core/src/lib/computeRouteInfos.ts:202:11
at Map.forEach ()
}