Skip to content

Unable to locate entry point #2082

Closed
Closed
@blessanm86

Description

@blessanm86

I tried typedoc along with the docusaurus plugin and I get an error Unable to locate entry point

warning You are running with an unsupported TypeScript version! This may work, or it might break. TypeDoc supports 4.6, 4.7, 4.8
warning Unable to locate entry point: /Users/bmathew/Desktop/repos/nx-web/libs/components/src/index.ts
error Unable to find any entry points. Make sure TypeDoc can find your tsconfig

This file exists. I even tried a test shell command to see if this file exists and its not some typo.
Interesting thing is I have other libs and it works totally fine for them.

Expected Behavior

Should just work.

Actual Behavior

Steps to reproduce the bug

I am using

"docusaurus-plugin-typedoc": "^0.17.5",
"typedoc": "^0.23.16",
"typedoc-plugin-markdown": "^3.13.6",
"typescript": "~4.4.3",

And this is how I use it in docusarus

plugins: [
    [
      'docusaurus-plugin-typedoc',
      {
        id: 'product-analytics',
        out: 'libs/product-analytics',
        entryPoints: ['../../libs/utils/product-analytics/src/index.ts'],
        tsconfig: '../../libs/utils/product-analytics/tsconfig.json',
        sidebar: {
          categoryLabel: '@web/product-analytics',
          position: 100,
          indexLabel: 'API',
        },
        cleanOutputDir: true,
      },
    ],
    [
      'docusaurus-plugin-typedoc',
      {
        id: 'components',
        out: 'libs/components',
        entryPoints: ['../../libs/components/src/index.ts'],
        tsconfig: '../../libs/components/tsconfig.json',
        sidebar: {
          categoryLabel: '@web/components',
          position: 100,
          indexLabel: 'API',
        },
        cleanOutputDir: true,
      },
    ],
    require.resolve('@cmfcmf/docusaurus-search-local'),
  ],

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions