Kiro icon indicating copy to clipboard operation
Kiro copied to clipboard

Kiro not loading

Open ccadenac opened this issue 1 year ago • 17 comments

Before opening, please confirm:

Operating System

macOS Sequoia 15.5

Kiro Version

0.1.42

Bug Description

Kiron not loading on Apple Silicon Sequoia? Chat panel just gets stuck, no welcome screen or anything. Signed up since it came out but it never worked. Kiro 0.1.42. This should've worked because it's 42.

Steps to Reproduce

  1. Oen Kiro, log in and chat window won't show anything.

Expected Behavior

Chat window opening and showing a welcome screen

Conversation ID

Image Image

Additional Context

Developer Tools: Got token path with schema file and path /Users/username/.aws/sso/cache/kiro-auth-token.json workbench.desktop.main.js:35 INFO Started local extension host with pid 52946. workbench.desktop.main.js:631 Activating extension 'kiro.kiroAgent' failed: exportIntervalMillis must be greater than or equal to exportTimeoutMillis. $onExtensionActivationError @ workbench.desktop.main.js:631 workbench.desktop.main.js:11124 An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing. mountTo @ workbench.desktop.main.js:11124 workbench.desktop.main.js:35 ERR command 'kiroAgent.viewLetsBuild' not found: Error: command 'kiroAgent.viewLetsBuild' not found at e6e.n (vscode-file://vscode-app/Applications/Kiro.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1299:1341) at e6e.executeCommand (vscode-file://vscode-app/Applications/Kiro.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1299:1273) workbench.desktop.main.js:35 INFO [perf] Render performance baseline is 13ms

From the Extension Host Output: 2025-08-04 13:51:58.960 [info] Extension host with pid 7687 started 2025-08-04 13:51:58.960 [info] Skipping acquiring lock for /Users//Library/Application Support/Kiro/User/workspaceStorage/23c91ec92b020b7d3b4ff3513bc7dadb. 2025-08-04 13:51:58.964 [info] ExtensionService#_doActivateExtension kiro.kiroAgent, startup: false, activationEvent: 'onCommand:kiroAgent.executions.getExecutionHistory' 2025-08-04 13:51:59.437 [info] ExtensionService#_doActivateExtension vscode.git-base, startup: false, activationEvent: '', root cause: vscode.git 2025-08-04 13:51:59.440 [info] ExtensionService#_doActivateExtension vscode.emmet, startup: false, activationEvent: 'onLanguage' 2025-08-04 13:51:59.498 [error] Activating extension kiro.kiroAgent failed due to an error: 2025-08-04 13:51:59.498 [error] Error: exportIntervalMillis must be greater than or equal to exportTimeoutMillis at new PeriodicExportingMetricReader (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:51867:17) at /Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:95597:34 at Array.forEach () at configureMetricProviderFromEnv (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:95589:24) at NodeSDK.start (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:95759:38) at In (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:97891:14) at setupTelemetry (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:760979:31) at register29 (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:760963:3) at register31 (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:763179:3) at activate2 (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:763187:5) at X0.kb (file:///Applications/Kiro.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:118:15217) at X0.jb (file:///Applications/Kiro.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:118:14924) at file:///Applications/Kiro.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:118:13082 at async S0.n (file:///Applications/Kiro.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:4450) at async S0.m (file:///Applications/Kiro.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:4413) at async S0.l (file:///Applications/Kiro.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:3869) 2025-08-04 13:51:59.499 [warning] INVALID decoration from extension 'kiro.kiroAgent': Error: The decoration is empty (repeated warnings omitted for brevity) 2025-08-04 13:51:59.511 [info] ExtensionService#_doActivateExtension vscode.git, startup: false, activationEvent: '' 2025-08-04 13:51:59.543 [info] ExtensionService#_doActivateExtension vscode.github, startup: false, activationEvent: '*' 2025-08-04 13:51:59.601 [info] Eager extensions activated 2025-08-04 13:51:59.603 [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch, startup: false, activationEvent: 'onStartupFinished' 2025-08-04 13:51:59.604 [info] ExtensionService#_doActivateExtension vscode.merge-conflict, startup: false, activationEvent: 'onStartupFinished' 2025-08-04 13:51:59.692 [info] ExtensionService#_doActivateExtension vscode.github-authentication, startup: false, activationEvent: 'onAuthenticationRequest:github'

ccadenac avatar Aug 04 '25 18:08 ccadenac

Got token path with schema file and path /Users/eric/.aws/sso/cache/kiro-auth-token.json workbench.desktop.main.js:35 INFO Started local extension host with pid 2763. workbench.desktop.main.js:10906 AI generated workspace trust dialog contents not available. (anonymous) @ workbench.desktop.main.js:10906 workbench.desktop.main.js:11124 An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing. mountTo @ workbench.desktop.main.js:11124 workbench.desktop.main.js:617 [Extension Host] [node.js fs] readdir with filetypes failed with error: Error: ENOENT: no such file or directory, scandir '/Users/eric/odrive/Wasabi-EKBackup/AI_Code_Embeder/.kiro/specs' at async Object.readdir (node:internal/original-fs/promises:948:18) at async mD (file:///Applications/Kiro.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:30:88755) at async Object.zh (file:///Applications/Kiro.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:30:88684) at async ch.readdir (file:///Applications/Kiro.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:166:14581) at async Object.readDirectory (file:///Applications/Kiro.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:7119) at async SpecDocumentManager.listFeatures (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:747490:23) at async SpecExplorerTreeProvider.getChildren (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:760630:22) at async by.Y (file:///Applications/Kiro.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:156:13744) at async by.getChildren (file:///Applications/Kiro.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:156:10258) Dzi @ workbench.desktop.main.js:617 index.html?id=ce5331ec-6a90-479d-8b14-79985a248a4a&origin=95799d51-3768-40b9-b647-d3f05569281f&swVersion=4&extensionId=kiro.kiroAgent&platform=electron&vscode-resource-base-authority=vscode-resource.vscode-cdn.net&parentOrigin=vscode-file%3A%2F%2Fvscode-app&purpose=webviewView:283 No service worker controller found. Waiting for controllerchange. workbench.desktop.main.js:35 INFO [perf] Render performance baseline is 34ms workbench.desktop.main.js:617 [Extension Host] Running migration: sqlite_modify_docs_columns_and_copy_to_config workbench.desktop.main.js:617 [Extension Host] Migration sqlite_modify_docs_columns_and_copy_to_config failed Error: SQLITE_ERROR: no such table: docs --> in Database#exec('ALTER TABLE docs ADD COLUMN favicon BLOB', [Function (anonymous)]) at /Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:120568:19 at new Promise () at Database2.exec (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:120566:16) at /Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:495032:22 at async migrate (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:119072:7) Dzi @ workbench.desktop.main.js:617 workbench.desktop.main.js:35 INFO Extension host (LocalProcess pid: 2763) is unresponsive. workbench.desktop.main.js:10963 Extension Host workbench.desktop.main.js:10963 Debugger attached. workbench.desktop.main.js:35 INFO UNRESPONSIVE extension host: starting to profile NOW 2workbench.desktop.main.js:35 ERR Error: Aborted onWillSaveTextDocument-event after 1750ms at workbench.desktop.main.js:639:7937

RuneSpokeAdmin avatar Aug 04 '25 20:08 RuneSpokeAdmin

I'm having this exact same problem too. After updating to

Version: 0.1.42 VSCode Version: 1.94.0 Commit: a8ee27c3da81b679d519ea30ad1d72f9239174fe Date: 2025-08-02T01:50:53.858Z Electron: 30.5.1 ElectronBuildId: undefined Chromium: 124.0.6367.243 Node.js: 20.16.0 V8: 12.4.254.20-electron.0 OS: Darwin arm64 24.5.0

Greenysmac avatar Aug 05 '25 01:08 Greenysmac

im having the same exacte problem

eXemoumen avatar Aug 05 '25 15:08 eXemoumen

iamcos avatar Aug 08 '25 18:08 iamcos

I'm also having the same exact problem

Jakedismo avatar Aug 15 '25 19:08 Jakedismo

i also have the same problem

roccomilicic avatar Aug 18 '25 23:08 roccomilicic

@ccadenac, are you still experiencing this issue with Kiro version 2.x+?

schoemme avatar Sep 04 '25 19:09 schoemme

Yep, just tried on Version: 0.2.38.

ccadenac avatar Sep 06 '25 02:09 ccadenac

Thank you for checking. I'd like to confirm if this is related to https://github.com/kirodotdev/Kiro/issues/596. Do either of the following workarounds apply/unblock you?

  • https://github.com/kirodotdev/Kiro/issues/596#issuecomment-3084541407
  • https://github.com/kirodotdev/Kiro/issues/596#issuecomment-3084836064

schoemme avatar Sep 06 '25 20:09 schoemme

It doesn't look related. Kiro never really worked since it came out.

ccadenac avatar Sep 06 '25 22:09 ccadenac

I have the same issue reported here and the workarounds in that other issue don't seem to resolve it.

mossbanay avatar Sep 13 '25 03:09 mossbanay

I can't seem to configure out where this is configured in a first class way, but here's a workaround:

cd ~/my_proj
export OTEL_METRIC_EXPORT_INTERVAL=30000
export OTEL_METRIC_EXPORT_TIMEOUT=30000
kiro .

mossbanay avatar Sep 13 '25 08:09 mossbanay

its failed to load after latest update with below error in developer tool console

workbench.desktop.main.js:34   ERR [Extension Host] (node:21143) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `Kiro Helper (Plugin) --trace-deprecation ...` to show where the warning was created)
error @ workbench.desktop.main.js:34
error @ workbench.desktop.main.js:34
error @ workbench.desktop.main.js:11457
Xms @ workbench.desktop.main.js:523
$logExtensionHostMessage @ workbench.desktop.main.js:523
S @ workbench.desktop.main.js:11482
Q @ workbench.desktop.main.js:11482
M @ workbench.desktop.main.js:11482
L @ workbench.desktop.main.js:11482
(anonymous) @ workbench.desktop.main.js:11482
C @ workbench.desktop.main.js:29
fire @ workbench.desktop.main.js:29
fire @ workbench.desktop.main.js:550
l.onmessage @ workbench.desktop.main.js:11493
workbench.desktop.main.js:523 [Extension Host] (node:21143) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `Kiro Helper (Plugin) --trace-deprecation ...` to show where the warning was created)
Yms @ workbench.desktop.main.js:523
$logExtensionHostMessage @ workbench.desktop.main.js:523
S @ workbench.desktop.main.js:11482
Q @ workbench.desktop.main.js:11482
M @ workbench.desktop.main.js:11482
L @ workbench.desktop.main.js:11482
(anonymous) @ workbench.desktop.main.js:11482
C @ workbench.desktop.main.js:29
fire @ workbench.desktop.main.js:29
fire @ workbench.desktop.main.js:550
l.onmessage @ workbench.desktop.main.js:11493
workbench.desktop.main.js:34   ERR Failed to parse stored data as JSON: IDEStorageError: Failed to parse stored data as JSON
	at StorageManager.readFolderObjects (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:703834:15)
	at async SpecTaskMetadataStorage.getAllTaskMetadata (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:735681:22)
	at async SpecTaskMetadataStorage.getTaskMetadataForSpec (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:735668:25)
	at async TaskService.loadTasks (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:735936:26)
	at async TaskService.refresh (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:735974:19)
	at async TaskCodeLensProvider.provideCodeLenses (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:734375:5)
	at async rm.provideCodeLenses (file:///Applications/Kiro.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:140:130150)
INFO Extension host (LocalProcess pid: 21143) is unresponsive.
workbench.desktop.main.js:11493 Extension Host
workbench.desktop.main.js:11493 Debugger attached.
workbench.desktop.main.js:34  INFO UNRESPONSIVE extension host: starting to profile NOW

alishah730 avatar Sep 18 '25 13:09 alishah730

HI @alishah730 and others, for this issue it appears from the logs you shared that some data may have been corrupted. I recommend removing and reinstalling Kiro from a clean state.

nadetastic avatar Oct 30 '25 22:10 nadetastic

HI @alishah730 and others, for this issue it appears from the logs you shared that some data may have been corrupted. I recommend removing and reinstalling Kiro from a clean state.

It's happening when projects size is large , may be couple of GBs with node modules

alishah730 avatar Oct 30 '25 22:10 alishah730

I'm having this exact same problem too at my M1 macOS . After updating to the latest version:

Version: 0.6.0 VSCode Version: 1.103.2 Commit: 85f32dc3cc1504545cc2fba7abaeb774c959f203 Date: 2025-11-16T04:41:01.731Z (4 days ago) Electron: 37.5.1 ElectronBuildId: undefined Chromium: 138.0.7204.251 Node.js: 22.19.0 V8: 13.8.258.32-electron.0 OS: Darwin arm64 24.6.0

"Got token path with schema file and path /Users/user/.aws/sso/cache/kiro-auth-token.json An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing. Form submission canceled because the form is not connected

Failed to authenticate with Kiro. workbench.desktop.main.js:11481 "

skytigger avatar Nov 21 '25 01:11 skytigger

Closing this issue as it was reported against an older version of Kiro (v0.x or early v1.x) and has had no activity in several months.

Kiro has shipped significant improvements since these versions, including stability fixes, new features, and major changes across v1.0, v1.1, v2.x, and the current v2.23.x releases. The behavior described here may already be resolved.

If this is still affecting you on the latest version, please open a new issue at https://github.com/kirodotdev/Kiro/issues/new with your current version (kiro-cli --version or Help > About in the IDE), your OS, and steps to reproduce. The latest version is available at https://kiro.dev/downloads/ or via kiro-cli update.

Thank you for taking the time to report this.

AnilMaktala avatar Sep 24 '26 13:09 AnilMaktala