Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build docs locally gives errors #202

Closed
yodamaster726 opened this issue Nov 5, 2024 · 3 comments
Closed

build docs locally gives errors #202

yodamaster726 opened this issue Nov 5, 2024 · 3 comments
Assignees
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@yodamaster726
Copy link
Contributor

When I build the docs folder locally I get a bunch of errors and it doesn't render.

Using the latest code as of 11/4/2024 - 10pm EST

I ran pnpm run dev and got these errors:

image

pnpm run dev gave me this output

[email protected] dev /Users/yoda26/Documents/Projects/eliza-yodamaster726/docs
docusaurus start --port 3002 --no-open

[INFO] Starting the development server...
�[96m[info]�[0m Loaded plugin typedoc-plugin-markdown
�[93m[warning]�[0m The glob ./src/index.ts did not match any files
�[91m[error]�[0m Unable to find any entry points. See previous warnings
[SUCCESS] Docusaurus website is running at: http://localhost:3002/eliza/
[webpackbar] ℹ Compiling Client
[WARNING] Docs markdown link couldn't be resolved: (../interfaces/Action.md) in source file "/Users/yoda26/Documents/Projects/eliza-yodamaster726/docs/api/classes/AgentRuntime.md" for version current
[WARNING] Docs markdown link couldn't be resolved: (DatabaseAdapter.md) in source file "/Users/yoda26/Documents/Projects/eliza-yodamaster726/docs/api/classes/AgentRuntime.md" for version current
[WARNING] Docs markdown link couldn't be resolved: (../interfaces/Evaluator.md) in source file "/Users/yoda26/Documents/Projects/eliza-yodamaster726/docs/api/classes/AgentRuntime.md" for version current
[WARNING] Docs markdown link couldn't be resolved: (../interfaces/Provider.md) in source file "/Users/yoda26/Documents/Projects/eliza-yodamaster726/docs/api/classes/AgentRuntime.md" for version current
[WARNING] Docs markdown link couldn't be resolved: (../interfaces/Action.md) in source file "/Users/yoda26/Documents/Projects/eliza-yodamaster726/docs/api/classes/AgentRuntime.md" for version current
[WARNING] Docs markdown link couldn't be resolved: (DatabaseAdapter.md) in source file "/Users/yoda26/Documents/Projects/eliza-yodamaster726/docs/api/classes/AgentRuntime.md" for version current
[WARNING] Docs markdown link couldn't be resolved: (MemoryManager.md) in source file "/Users/yoda26/Documents/Projects/eliza-yodamaster726/docs/api/classes/AgentRuntime.md" for version current
[WARNING] Docs markdown link couldn't be resolved: (../interfaces/Evaluator.md) in source file "/Users/yoda26/Documents/Projects/eliza-yodamaster726/docs/api/classes/AgentRuntime.md" for version current
[WARNING] Docs markdown link couldn't be resolved: (MemoryManager.md) in source file "/Users/yoda26/Documents/Projects/eliza-yodamaster726/docs/api/classes/AgentRuntime.md" for version current
[WARNING] Docs markdown link couldn't be resolved: (MemoryManager.md) in source file "/Users/yoda26/Documents/Projects/eliza-yodamaster726/docs/api/classes/AgentRuntime.md" for version current
[WARNING] Docs markdown link couldn't be resolved: (MemoryManager.md) in source file "/Users/yoda26/Documents/Projects/eliza-yodamaster726/docs/api/classes/AgentRuntime.md" for version current
[WARNING] Docs markdown link couldn't be resolved: (../interfaces/Provider.md) in source file "/Users/yoda26/Documents/Projects/eliza-yodamaster726/docs/api/classes/AgentRuntime.md" for version current
[WARNING] Docs markdown link couldn't be resolved: (../interfaces/Actor.md) in source file "/Users/yoda26/Documents/Projects/eliza-yodamaster726/docs/api/classes/AgentRuntime.md" for version current
[WARNING] Docs markdown link couldn't be resolved: (../interfaces/Evaluator.md) in source file "/Users/yoda26/Documents/Projects/eliza-yodamaster726/docs/api/classes/AgentRuntime.md" for version current
[WARNING] Docs markdown link couldn't be resolved: (../interfaces/Goal.md) in source file "/Users/yoda26/Documents/Projects/eliza-yodamaster726/docs/api/classes/AgentRuntime.md" for version current
[WARNING] Docs markdown link couldn't be resolved: (../interfaces/Memory.md) in source file "/Users/yoda26/Documents/Projects/eliza-yodamaster726/docs/api/classes/AgentRuntime.md" for version current
[WARNING] Docs markdown link couldn't be resolved: (../interfaces/Memory.md) in source file "/Users/yoda26/Documents/Projects/eliza-yodamaster726/docs/api/classes/AgentRuntime.md" for version current
[WARNING] Docs markdown link couldn't be resolved: (../interfaces/Memory.md) in source file "/Users/yoda26/Documents/Projects/eliza-yodamaster726/docs/api/classes/AgentRuntime.md" for version current
[WARNING] Docs markdown link couldn't be resolved: (../interfaces/Memory.md) in source file "/Users/yoda26/Documents/Projects/eliza-yodamaster726/docs/api/classes/AgentRuntime.md" for version current
[WARNING] Docs markdown link couldn't be resolved: (../interfaces/Message.md) in source file "/Users/yoda26/Documents/Projects/eliza-yodamaster726/docs/api/classes/AgentRuntime.md" for version current
[WARNING] Docs markdown link couldn't be resolved: (../interfaces/Actor.md) in source file "/Users/yoda26/Documents/Projects/eliza-yodamaster726/docs/api/classes/AgentRuntime.md" for version current
[WARNING] Docs markdown link couldn't be resolved: (../interfaces/Evaluator.md) in source file "/Users/yoda26/Documents/Projects/eliza-yodamaster726/docs/api/classes/AgentRuntime.md" for version current
[WARNING] Docs markdown link couldn't be resolved: (../interfaces/Goal.md) in source file "/Users/yoda26/Documents/Projects/eliza-yodamaster726/docs/api/classes/AgentRuntime.md" for version current
[WARNING] Docs markdown link couldn't be resolved: (../interfaces/Memory.md) in source file "/Users/yoda26/Documents/Projects/eliza-yodamaster726/docs/api/classes/AgentRuntime.md" for version current
[WARNING] Docs markdown link couldn't be resolved: (../interfaces/Memory.md) in source file "/Users/yoda26/Documents/Projects/eliza-yodamaster726/docs/api/classes/AgentRuntime.md" for version current
[WARNING] Docs markdown link couldn't be resolved: (../interfaces/Memory.md) in source file "/Users/yoda26/Documents/Projects/eliza-yodamaster726/docs/api/classes/AgentRuntime.md" for version current
[WARNING] Docs markdown link couldn't be resolved: (../interfaces/Memory.md) in source file "/Users/yoda26/Documents/Projects/eliza-yodamaster726/docs/api/classes/AgentRuntime.md" for version current
[WARNING] Docs markdown link couldn't be resolved: (../interfaces/Message.md) in source file "/Users/yoda26/Documents/Projects/eliza-yodamaster726/docs/api/classes/AgentRuntime.md" for version current
[WARNING] Docs markdown link couldn't be resolved: (../interfaces/State.md) in source file "/Users/yoda26/Documents/Projects/eliza-yodamaster726/docs/api/classes/AgentRuntime.md" for version current
[WARNING] Docs markdown link couldn't be resolved: (../interfaces/Message.md) in source file "/Users/yoda26/Documents/Projects/eliza-yodamaster726/docs/api/classes/AgentRuntime.md" for version current
[WARNING] Docs markdown link couldn't be resolved: (../interfaces/Content.md) in source file "/Users/yoda26/Documents/Projects/eliza-yodamaster726/docs/api/classes/AgentRuntime.md" for version current
[WARNING] Docs markdown link couldn't be resolved: (../interfaces/State.md) in source file "/Users/yoda26/Documents/Projects/eliza-yodamaster726/docs/api/classes/AgentRuntime.md" for version current
[WARNING] Docs markdown link couldn't be resolved: (../interfaces/Action.md) in source file "/Users/yoda26/Documents/Projects/eliza-yodamaster726/docs/api/classes/AgentRuntime.md" for version current
[WARNING] Docs markdown link couldn't be resolved: (../interfaces/Provider.md) in source file "/Users/yoda26/Documents/Projects/eliza-yodamaster726/docs/api/classes/AgentRuntime.md" for version current
[WARNING] Docs markdown link couldn't be resolved: (../interfaces/Evaluator.md) in source file "/Users/yoda26/Documents/Projects/eliza-yodamaster726/docs/api/classes/AgentRuntime.md" for version current
[webpackbar] ✔ Client: Compiled successfully in 6.53s
client (webpack 5.96.1) compiled successfully
[webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: Unable to snapshot resolve dependencies

@yodamaster726 yodamaster726 added the bug Something isn't working label Nov 5, 2024
@lalalune
Copy link
Member

lalalune commented Nov 7, 2024

Yeah its weird, seems to make the mds but cuts off at that part, seems to be related to how some files are compiled in the docusaurus mdx typedoc chain. Maybe updating could fix.

@madjin
Copy link
Collaborator

madjin commented Nov 8, 2024

I fixed, try now

@madjin madjin added the documentation Improvements or additions to documentation label Nov 8, 2024
@madjin madjin self-assigned this Nov 8, 2024
@yodamaster726
Copy link
Contributor Author

works good now. thanks for fixing.

verified with node 23.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants