Skip to content

DOCXKIT_MANIFEST_MISSING: Plugin manifest missing ​

External loading could not locate the required docx-kit.plugin.json.

What to do ​

  1. Include the manifest at the package root.
  2. Verify that the manifest path or URL resolves before importing executable code.

Problem example ​

ts
// Package contents: dist/index.js only

Corrected example ​

ts
// Package contents:
// docx-kit.plugin.json
// dist/index.js
import { validateManifest } from 'docx-kit'

const manifest = {
  name: 'example-plugin', version: '1.0.0', docxKit: '^0.7.0',
  main: './dist/index.js', plugin: { name: 'example' },
}

validateManifest(manifest)

Common causes ​

  • The published package omitted its manifest or the requested path returned an error.

Diagnostic fields ​

Example message ​

text
Plugin manifest not found for package "example-plugin"

Released under the MIT License.