-
-
Notifications
You must be signed in to change notification settings - Fork 168
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Version of Marp Tool
Marp CLI v4.2.1
Operating System
Linux
Environment
Originally reported in marp-team/marp#585:
- OS version: Debian 12.11 (bookwarm)
- Node.js version (Marpit / Marp Core/ Marp CLI): ❌ (Standalone binary)
How to reproduce
marp --pptx slide.md
Expected behavior
Generate pptx file
Actual behavior
TypeError [ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING]: A dynamic import callback was not specified.
Additional information
Originally reported in marp-team/marp#585.
The latest pptxgenjs v4 (Dependented by Marp CLI v4.2.1) has been provided as ES Modules.
https://github.com/gitbrent/PptxGenJS/releases/tag/v4.0.0
Marp CLI will import pptxgenjs lazily for better performance to start up CLI, but pkg (@yao-pkg/pkg), that is using to build the standalone binary, does not yet support dynamic import for ES modules.
Actually ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING will still throw even if used CommonJS version of pptxgenjs (pptxgen.cjs.js).
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working