Skip to content

Fix module resolution error in React Native build - #34

Merged
chtitux merged 1 commit into
mainfrom
claude/fix-module-resolution-error-01Gbf4TbHG6nzaA6YCia6XyX
Dec 11, 2025
Merged

chtitux merged 1 commit into
mainfrom
claude/fix-module-resolution-error-01Gbf4TbHG6nzaA6YCia6XyX

Conversation

@chtitux

@chtitux chtitux commented Dec 11, 2025

Copy link
Copy Markdown
Contributor

…o examples

Remove FileSystemCacheStore and IndexedDBCacheStore from the main bundle to fix "Unable to resolve module path" error in React Native. The cache implementations use Node.js built-in modules (fs, path, os) that Metro bundler cannot resolve.

Changes:

  • Move cache store implementations to examples/cache/ directory
  • Remove cache store exports from main index.ts
  • Remove auto-detection of cache stores in GtfsSqlJs
  • Update static cache methods to require explicit cache store parameter
  • Update README with new caching instructions
  • Caching is now opt-in: users copy the appropriate store from examples/cache/

…o examples

Remove FileSystemCacheStore and IndexedDBCacheStore from the main bundle to fix
"Unable to resolve module path" error in React Native. The cache implementations
use Node.js built-in modules (fs, path, os) that Metro bundler cannot resolve.

Changes:
- Move cache store implementations to examples/cache/ directory
- Remove cache store exports from main index.ts
- Remove auto-detection of cache stores in GtfsSqlJs
- Update static cache methods to require explicit cache store parameter
- Update README with new caching instructions
- Caching is now opt-in: users copy the appropriate store from examples/cache/
@chtitux
chtitux merged commit de8845c into main Dec 11, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants