Skip to content

Build and deploy docs is not working #527

@vdusek

Description

@vdusek

Seems something is wrong with website/transformDocs.js...

Log:

Run make build-api-reference
cd website && uv run ./build_api_reference.sh
/home/runner/work/apify-client-python/apify-client-python/website/transformDocs.js:174
    const rootModuleName = module.name.split('.')[0];
                                       ^

TypeError: Cannot read properties of undefined (reading 'split')
    at convertObject (/home/runner/work/apify-client-python/apify-client-python/website/transformDocs.js:174:40)
    at main (/home/runner/work/apify-client-python/apify-client-python/website/transformDocs.js:332:9)
    at Object.<anonymous> (/home/runner/work/apify-client-python/apify-client-python/website/transformDocs.js:375:5)
    at Module._compile (node:internal/modules/cjs/loader:1521:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1623:10)
    at Module.load (node:internal/modules/cjs/loader:1266:32)
    at Module._load (node:internal/modules/cjs/loader:1091:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12)
    at node:internal/main/run_main_module:28:49

Node.js v20.19.5
make: *** [Makefile:53: build-api-reference] Error 1
Error: Process completed with exit code 2.

Example of such case:

https://github.com/apify/apify-client-python/actions/runs/18909625831/job/53976484654

Metadata

Metadata

Assignees

Labels

t-toolingIssues with this label are in the ownership of the tooling team.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions