what makes me say it works is the fact I made it work without problem (except from the harmless but annoying warning) both in a monorepo setup and when depending on published libraries that depend on rescript-core.
That’s why I think your issue might be related to your local npm install/non-monorepo setup.