Instead of creating a stub onnxruntime-node module, patch the @xenova/transformers backend file to skip the onnxruntime-node import entirely and use only onnxruntime-web. This prevents the "Cannot read properties of undefined" error when the library tries to use the Node backend in a Node.js environment but only has the web backend available. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| alpine-setup.sh | ||
| get-api-details.ts | ||
| index-api.ts | ||
| index-docs.ts | ||
| index-source.ts | ||
| search-handmenu-api.ts | ||
| search-handmenu.ts | ||
| test-api-indexing.ts | ||
| test-api-search.ts | ||
| test-parser.ts | ||
| test-search.ts | ||
| test-source-indexing.ts | ||
| test-source-search.ts | ||