{"record":{"id":"5bcd149eb021f827","repo":"swc-project/swc","slug":"bundle-command-is-not-yet-implemented","errorCode":null,"errorMessage":"Bundle command is not yet implemented","messagePattern":"Bundle command is not yet implemented","errorType":"panic","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/swc_cli_impl/src/commands/bundle.rs","lineNumber":8,"sourceCode":"use clap::Parser;\n\n#[derive(Parser)]\npub struct BundleOptions {}\n\nimpl super::CommandRunner for BundleOptions {\n    fn execute(&self) -> anyhow::Result<()> {\n        unimplemented!(\"Bundle command is not yet implemented\")\n    }\n}\n","sourceCodeStart":1,"sourceCodeEnd":11,"githubUrl":"https://github.com/swc-project/swc/blob/5176682b65416c6b5de6b47379ae1588ea3ecb3f/crates/swc_cli_impl/src/commands/bundle.rs#L1-L11","documentation":"An unimplemented!() in `execute` of the bundle CLI command (swc_cli_impl commands/bundle.rs:8). The `swc bundle` subcommand is declared in clap with an empty options struct but its runner is a stub; invoking the subcommand immediately aborts with this marker. It denotes a planned-but-unbuilt CLI feature, not a runtime input problem.","triggerScenarios":"Thrown at crates/swc_cli_impl/src/commands/bundle.rs:8 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Do not invoke `swc bundle`; use the supported compile path (e.g. `swc compile`) or the @swc/core bundle API","Track/implement the bundle subcommand in swc_cli_impl","Print a helpful 'not yet available' message instead of panicking when the subcommand is selected"],"exampleFix":null,"handlingStrategy":"fallback","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"5176682b65416c6b5de6b47379ae1588ea3ecb3f","analyzedAt":"2026-08-17T16:16:52.067Z","contentChangedAt":"2026-08-17T16:16:52.067Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}