DOCXKIT_MANIFEST_MISSING: Plugin manifest missing
External loading could not locate the required docx-kit.plugin.json.
What to do
- Include the manifest at the package root.
- Verify that the manifest path or URL resolves before importing executable code.
Problem example
ts
// Package contents: dist/index.js onlyCorrected 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
code:MANIFEST_MISSINGdiagnosticCode:DOCXKIT_MANIFEST_MISSINGname:DocxKitErrordocs: https://docx-kit.ntnyq.dev/errors/docxkit_manifest_missing/
Example message
text
Plugin manifest not found for package "example-plugin"