mlc-ai / mlc-ai/web-agent-interface

export 'ToolName' (reexported as 'ToolName') was not found in './tool' (possible exports: tool, toolName)

Open
#3 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
19
Forks
7
PR merge metrics
No merged PRs in 30d

Description

$ npm run build

@mlc-ai/web-agent-interface@0.0.3 build
tsc && webpack --config webpack.config.cjs

asset index.js 26.6 KiB [emitted] [minimized] (name: main) 2 related assets
orphan modules 41.1 KiB [orphan] 7 modules
runtime modules 670 bytes 3 modules
./src/index.ts + 7 modules 41.4 KiB [built] [code generated]

WARNING in ./src/index.ts 3:0-50
export 'ToolName' (reexported as 'ToolName') was not found in './tool' (possible exports: tool, toolName)

webpack 5.97.1 compiled with 1 warning in 747 ms

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running npm run build and inspect the re-export in src/index.ts alongside the exports available from ./tool. Confirm the naming is consistent, then rerun the build; done means the ToolName warning is gone.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, webpack
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.