Fresh Windows 11 Installation fails with Error when following Installation Guide provided
Thank you for helping improve Gideon! Please use this template to report bugs. Provide as much detail as possible to help us reproduce and fix the issue quickly. If this is a feature request or general question, use the appropriate Discussion category instead.
Bug Report
Title
recon.js Error in Fresh Installation on Windows
Description
When Installing Gideon and all Prerequisites as mentioned in the Readme on Github, Bun throws an Error that the Export "CVSSResult" was not found in recon.js when executing loadAndEvaluateModule:
$ bun run src/index.tsx 1 | }) 2 | { ^ SyntaxError: export 'CVSSResult' not found in './recon.js' at loadAndEvaluateModule (2:1)
Steps to Reproduce
Follow the Intall Instructions as described:
- Install Bun via
powershell -c "irm bun.sh/install.ps1|iex" - Clone GIT Rep
git clone https://github.com/Cogensec/Gideon.git - Install bun depencies
bun install - Rename env.example to env
- Add LLM Key (in my case OpenRouter)
- Execute InteractiveShell in Powershell via
bun start - Get Error
Expected Behavior
Interactive Shell should execute
Actual Behavior
Application throws Error
Environment
- Operating System: Windows 11
- Bun Version: 1.3.13 Install via PowerShell
- Node.js Version (if applicable): 24.15.0
- Gideon Version/Commit: Git clone from 29th April and Manual Release Download 1.2.0
- **Hardware (System 1): AMD Ryzen 5 5500, NVIDIA RTX 4060
- **Hardware (System 2): AMD Ryzen 9 9750x3D. AMD 7900XTX OC
- Relevant API Services: OpenRouter, Locally running OLLAMA
- Other Dependencies: -
Logs/Screenshots
[Include any console logs, error traces, or screenshots. Use code blocks for logs:]
[Paste logs here] Error.txt in the root folder: ` [41m [0m [41m[37m This is not the tsc command you are looking for [0m [41m [0m
To get access to the TypeScript compiler, [34mtsc[0m, from the command line either:
- Use [1mnpm install typescript[0m to first add TypeScript to your project [1mbefore[0m using npx
- Use [1myarn[0m to avoid accidentally running code from un-installed packages `
Additional Context
Followed Install Guide for Windows on a Fresh Installation. Verified functionallity of Node.js and Bun by query Version via PowerShell. Also tried executing Steps via MINGW64 Bash Console, same Issues. Bun Install shows no Errors and 634 successful installs on 553 packages EDIT1: Added NVD API Key to avoid Rate Limit Issue with NVD. Error persists.
Severity
- [] Critical: Crashes the tool or prevents core functionality.
- [ ] High: Major feature broken, but workaround exists.
- [X] Medium: Minor issue affecting usability.
- [ ] Low: Cosmetic or rare edge case.
EDIT2: Found Workaround: Deleting "CVSSInput and CVSSResult" from /src/gideon/index.ts Line 61 and 62 fixes the no Start. However its unclear what the Side Effects will be
Once submitted, we'll triage and respond as soon as possible. Thanks for your contribution! 🚀
Thanks for the detailed report — your workaround pointed straight at the root cause.
CVSSInput and CVSSResult are declared as export interface in src/gideon/recon.ts (type-only), but src/gideon/index.ts was re-exporting them inside a value export { ... } from './recon.js' block. At runtime the compiled recon.js has no such exports, so bun's ESM loader throws export 'CVSSResult' not found.
It's not Windows-specific — bun 1.3.x just enforces stricter ESM resolution and surfaces what was already a latent bug. Older bun/TS toolchains erased the unused type re-exports silently.
The fix is a one-line move into an export type { ... } block, preserving the public type surface so downstream consumers aren't affected (unlike deleting the lines outright). PR: #19.