Skip to content

Errors generating reference docs for v12 release #9061

Description

@rachel-fenichel

Check for duplicates

  • I have searched for similar issues before opening a new one.

Description

npm run docs fails with "Cannot find module 'ajv/dist/core'", which appears to be because of nrwl/nx#27683 (comment)

Manually installing ajv directly worked: npm i ajv. However, we don't want to depend directly on that package long-term and it should not be necessary since it is an optional dependency.

One of the ajv-validator maintainers said that this was probably an npm issue, because it works with yarn and pnpm.

Once api-extractor runs, there are three warnings:

Warning: dist/core/block.d.ts:545:8 - (tsdoc-undefined-tag) The TSDoc tag "@yields" is not defined in this configuration
Warning: dist/core/field.d.ts:92:5 - (ae-setter-with-docs) The doc comment for the property "size_" must appear on the getter, not the setter.
Warning: dist/core/field_input.d.ts:69:5 - (ae-setter-with-docs) The doc comment for the property "size_" must appear on the getter, not the setter.

Reproduction steps

Stack trace

Screenshots

No response

Browsers

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions