OpenWiki global installation on Windows, specifically its dependency `better-sqlite3` failing to build with Bun due to `node-gyp` and Visual Studio toolchain issues.
Raw Developer Origin & Technical Request
GitHub Issue
Jul 2, 2026
## Summary
`bun install -g openwiki` fails on Windows because `better-sqlite3` cannot install/build under Bun, causing global installation of OpenWiki to abort.
## Environment
- OS: Windows 10 (`Windows_NT 10.0.26200`)
- Package manager/runtime: Bun `1.3.14`
- Node used during build: `v24.3.0`
- node-gyp: `v12.2.0`
- Package failing: `better-sqlite3`
## Steps to Reproduce
1. On a Windows machine, run:
```bash
bun install -g openwiki
```
2. Observe installation output.
## Actual Behavior
Install fails with `better-sqlite3` build errors and exits non-zero.
Key log excerpts:
```text
prebuild-install warn install 'better-sqlite3' is not yet supported in Bun.
Track the status in github.com/oven-sh/bun/issue...
...
gyp ERR! stack Error: Could not find any Visual Studio installation to use
...
error: install script from "better-sqlite3" exited with 1
```
`node-gyp` attempts a source build, but no compatible Visual Studio C++ toolchain is found, so installation aborts.
## Expected Behavior
OpenWiki should install successfully (or fail with clear guidance/workaround specific to Bun + Windows), without requiring users to debug native build toolchain issues.
## Additional Context
- Bun currently indicates `better-sqlite3` prebuild support is not available.
- The failure path falls back to `node-gyp` native compilation, which requires Visual Studio + "Desktop development with C++" on Windows.
- This makes `bun install -g openwiki` brittle for Windows users and ...
Developer Debate & Comments
No active discussions extracted for this entry yet.
Adjacent Repository Pain Points
Other highly discussed features and pain points extracted from langchain-ai/openwiki.
Frequently Asked Questions
Market intelligence mapped to OpenWiki global installation on Windows, specifically its dependency `better-sqlite3` failing to build with Bun due to `node-gyp` and Visual Studio toolchain issues..
What problem does OpenWiki global installation on Windows, specifically its dependency `better-sqlite3` failing to build with Bun due to `node-gyp` and Visual Studio toolchain issues. solve?
What architecture is tied to OpenWiki global installation on Windows, specifically its dependency `better-sqlite3` failing to build with Bun due to `node-gyp` and Visual Studio toolchain issues.?
Engagement Signals
Cross-Market Term Frequency
Quantifies the cross-market adoption of foundational terms like bun install -g and better-sqlite3 by tracking occurrence frequency across active SaaS architectures and enterprise developer debates.
SaaS Metrics