David Kimura PRO said about 5 years ago on Client Side Validation with StimulusJS :
Did you add the validate.js library as a dependency in package.json