Hi,
I am upgrading my project to meteor 1.4 (derived from an older meteorchef’s base codebase). When running my app I get:
Uncaught TypeError: $(…).validate is not a function
I did a:
npm install --save jquery-validation
In my react-component I import jquery and jquery-validation as:
import $ from ‘jquery’;
import ‘jquery-validation’;
The line that fails is:
$(component.refs.signin).validate({
…
…
})
If I do a console.log($(component.refs.signin)), I get a [form.signin]
It looks like the validate() method is not attached to $(component.refs.signin)
This worked in meteor 1.3. Any advice?