Skip to content
This repository was archived by the owner on Nov 14, 2025. It is now read-only.
This repository was archived by the owner on Nov 14, 2025. It is now read-only.

Error - error: TypeError: items.at is not a function or its return value is not iterable #6

@salmon-wallet

Description

@salmon-wallet

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 ()
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions