Skip to content

Cannot find module 'llama-stack-client' or its corresponding type declarations. #36

@DevTakao

Description

@DevTakao

Cannot find module 'llama-stack-client' or its corresponding type declarations.

I am getting the above type error when importing the package after installing the library with pnpm:
pnpm install git+ssh://[email protected]:llamastack/llama-stack-client-typescript.git

// src/index.ts
import LlamaStackClient from "llama-stack-client";

When I checked the package.json, it declared types as:
"types": "dist/index.d.ts",

But there is no dist folder in node_modules/llama-stack-client.

Do I need to go into the package folder and run the build command?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions