{"record":{"id":"73ca5fa380604725","repo":"remotion-dev/remotion","slug":"the-config-format-has-changed-change-config-pupp","errorCode":null,"errorMessage":"The config format has changed. Change `Config.Puppeteer.*()` calls to `Config.*()` in your config file.","messagePattern":"The config format has changed\\. Change `Config\\.Puppeteer\\.\\*\\(\\)` calls to `Config\\.\\*\\(\\)` in your config file\\.","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/cli/src/config/index.ts","lineNumber":766,"sourceCode":"\t};\n\nexport const Config: FlatConfig = {\n\tget Bundling() {\n\t\tthrow new Error(\n\t\t\t'The config format has changed. Change `Config.Bundling.*()` calls to `Config.*()` in your config file.',\n\t\t);\n\t},\n\tget Rendering() {\n\t\tthrow new Error(\n\t\t\t'The config format has changed. Change `Config.Rendering.*()` calls to `Config.*()` in your config file.',\n\t\t);\n\t},\n\tget Output() {\n\t\tthrow new Error(\n\t\t\t'The config format has changed. Change `Config.Output.*()` calls to `Config.*()` in your config file.',\n\t\t);\n\t},\n\tget Log() {\n\t\tthrow new Error(\n\t\t\t'The config format has changed. Change `Config.Log.*()` calls to `Config.*()` in your config file.',\n\t\t);\n\t},\n\tget Preview() {\n\t\tthrow new Error(\n\t\t\t'The config format has changed. Change `Config.Preview.*()` calls to `Config.*()` in your config file.',\n\t\t);\n\t},\n\tget Puppeteer() {\n\t\tthrow new Error(\n\t\t\t'The config format has changed. Change `Config.Puppeteer.*()` calls to `Config.*()` in your config file.',\n\t\t);\n\t},\n\taddElementLibrary,\n\tsetMaxTimelineTracks: StudioServerInternals.setMaxTimelineTracks,\n\tsetKeyboardShortcutsEnabled: keyboardShortcutsOption.setConfig,\n\tsetKeyboardShortcuts,","sourceCodeStart":748,"sourceCodeEnd":784,"githubUrl":"https://github.com/remotion-dev/remotion/blob/b2f4e34732f3c6c222ea029413e22dc402218cd7/packages/cli/src/config/index.ts#L748-L784","documentation":"`Config.Puppeteer` was the pre-flat-config namespace for Chromium/Puppeteer-related setters (e.g. `Config.Puppeteer.setChromiumOpenGlRenderer`). The flat `Config` object throws on access to push users onto the renamed flat setters (`Config.setChromiumOpenGlRenderer`, etc.).","triggerScenarios":"A remotion config file calling any `Config.Puppeteer.*` method, loaded under Remotion 4.x+/5.x.","commonSituations":"Stale config after a major upgrade; sample repo cloned from a pre-flat-config tutorial; copy-pasted Stack Overflow snippet.","solutions":["Replace `Config.Puppeteer.setChromiumOpenGlRenderer(...)` with `Config.setChromiumOpenGlRenderer(...)` (and equivalents for other Chromium setters).","Run through the v3→v4 migration guide to map every `Puppeteer.*` setter to its new flat name."],"exampleFix":"// before\nConfig.Puppeteer.setChromiumOpenGlRenderer('angle');\n// after\nConfig.setChromiumOpenGlRenderer('angle');","handlingStrategy":"validation","validationCode":"const src = readFileSync('remotion.config.ts', 'utf8');\nif (/Config\\.Puppeteer\\./.test(src)) {\n  throw new Error('Remove Config.Puppeteer.* calls; use Config.setChromium* setters.');\n}","typeGuard":null,"tryCatchPattern":null,"preventionTips":["Replace the whole `Puppeteer` namespace block in one edit on upgrade.","Cross-check each renamed setter against the v4 changelog."],"tags":["config","migration","breaking-change","deprecation","chromium"],"backgroundTag":null,"analyzedSha":"b2f4e34732f3c6c222ea029413e22dc402218cd7","analyzedAt":"2026-08-12T17:18:50.444Z","contentChangedAt":"2026-08-12T17:18:50.444Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}