usebruno/bruno · error · Error
Extract location does not exist
Error message
Extract location does not exist
What it means
Error "Extract location does not exist" thrown in usebruno/bruno.
Source
Thrown at packages/bruno-electron/src/ipc/workspace.js:355
addDirectoryToArchive(workspacePath, '');
archive.finalize();
});
return { success: true, filePath };
} catch (error) {
throw error;
}
});
ipcMain.handle('renderer:import-workspace', async (event, zipFilePath, extractLocation) => {
try {
if (!zipFilePath || !fs.existsSync(zipFilePath)) {
throw new Error('Zip file does not exist');
}
if (!extractLocation || !fs.existsSync(extractLocation)) {
throw new Error('Extract location does not exist');
}
const tempDir = path.join(extractLocation, `_bruno_temp_${Date.now()}`);
await fsExtra.ensureDir(tempDir);
try {
await extractZip(zipFilePath, { dir: tempDir });
const extractedItems = fs.readdirSync(tempDir);
let workspaceDir = tempDir;
if (extractedItems.length === 1) {
const singleItem = path.join(tempDir, extractedItems[0]);
if (fs.statSync(singleItem).isDirectory()) {
workspaceDir = singleItem;
}
}
View on GitHub (pinned to 9bdd81c7bd)
Solutions
- Create the extract destination directory first.
- Choose an existing directory as the extract location.
When it happens
Trigger: Thrown at packages/bruno-electron/src/ipc/workspace.js:355 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of usebruno/bruno@9bdd81c7bd (2026-08-13).
Data as JSON: /api/errors/bfaa430a93bc5360.
Report an issue: GitHub.