I’m encountering an issue when installing and using the tokenizers npm package on macOS with Apple Silicon (ARM64).
After running npm install, the installation completes without fatal errors, but at runtime Node.js fails to load the native binary:
Error: Cannot find module 'tokenizers-darwin-arm64'
This happens immediately when importing or requiring tokenizers.
Environment:
OS: macOS (Apple Silicon, ARM64)
Node.js version: 25
npm version: 11.6.2
tokenizers version: 0.13.3
Package manager: npm
Architecture: arm64