rescript-validator Installation Run the following in your console: $ yarn add rescript-validator validator Then add rescript-validator to your bsconfig.json's bs-dependencies: { "bs-dependencies": [ + "rescript-validator" ] }