{"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":755,"sourceCode":"\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\tsetMaxTimelineTracks: StudioServerInternals.setMaxTimelineTracks,\n\tsetKeyboardShortcutsEnabled: keyboardShortcutsOption.setConfig,\n\tsetInteractivityEnabled: interactivityOption.setConfig,\n\tsetAllowHtmlInCanvasEnabled,\n\tsetRspack: rspackOption.setConfig,\n\tsetExperimentalRspackEnabled: rspackOption.setConfig,\n\tsetNumberOfSharedAudioTags: numberOfSharedAudioTagsOption.setConfig,\n\tsetExperimentalKeepAudioContextAlive:\n\t\texperimentalKeepAudioContextAliveOption.setConfig,\n\tsetWebpackPollingInMilliseconds: webpackPollOption.setConfig,\n\tsetShouldOpenBrowser: noOpenOption.setConfig,\n\tsetBufferStateDelayInMilliseconds,\n\toverrideBundlerConfig,\n\toverrideRspackConfig,\n\toverrideWebpackConfig,","sourceCodeStart":737,"sourceCodeEnd":773,"githubUrl":"https://github.com/remotion-dev/remotion/blob/78fe4bb3fdb5a2cd68724393d63cb223db333fa7/packages/cli/src/config/index.ts#L737-L773","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":"78fe4bb3fdb5a2cd68724393d63cb223db333fa7","analyzedAt":"2026-08-12T17:18:50.444Z","schemaVersion":2},"datasetVersion":"2026-08-12T18:17:37.767Z"}