Skip to content

[Bug] 2.78 Pdf Output Broken #10398

Description

@groogiam

Describe the bug

The following command fails when using 2.78

docfx pdf docs/docfx.json
Error: Cannot find module 'C:\Users\myuser\.dotnet\tools\.store\docfx\2.78.0\docfx\2.78.0\tools\net8.0\any\.playwright\package\cli.js'
    at Function._resolveFilename (node:internal/modules/cjs/loader:1249:15)
    at Function._load (node:internal/modules/cjs/loader:1075:27)
    at TracingChannel.traceSync (node:diagnostics_channel:315:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:218:24)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:170:5)
    at node:internal/main/run_main_module:36:49 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

To Reproduce
See Description above.

Expected behavior
Pdf output should noterror out.

Context (please complete the following information):

  • OS: Windows Windows 11 23H2 22631.4460
  • Docfx version: 2.78

Additional context
Add any other context about the problem here.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions