• alokir@lemmy.world
    link
    fedilink
    arrow-up
    9
    ·
    1 year ago

    One of your dependencies are broken, you probably never installed them in the first place or tinkered with the node_modules folder, which you really shouldn’t do.

    I looked at index.ts in the package api-ai-javascript and it’s there. Just run npm install and try again.

      • alokir@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        It took a few seconds to read them and about a minute to search for the package on npm, another minute to come back to Lemmy and type out my comment.

        All in all, not the worst case of me wasting my time.