Skip to content

v2.0.3 add explicit onnxruntime-node dependency for Node.js v24+

Choose a tag to compare

@JochenYang JochenYang released this 05 Nov 02:45
· 69 commits to main since this release

Fixed

  • Critical: Added explicit onnxruntime-node dependency for Node.js v24+ compatibility
    • Fixes "Cannot find package 'onnxruntime-node/index.js'" error on Node.js v24.x
    • Added onnxruntime-node@^1.23.2 as direct dependency
    • Resolves module resolution issues with @xenova/transformers on newer Node.js versions
    • Users on Node.js v24+ should now be able to run devmind-mcp without errors

Technical Details

The @xenova/transformers package has a peer dependency on onnxruntime-node, but the module resolution in Node.js v24+ requires it to be explicitly listed in dependencies. This fix ensures compatibility across all Node.js versions >=20.0.0.