jerocosio / autoform-cloudinary

Easily upload images to Meteor using Cloudinary and Simple Schema
13 stars 11 forks source link

Meteor 1.2.1 breaks this package #12

Closed kaiyes closed 8 years ago

kaiyes commented 8 years ago

Hi, Just wanted to let you know that Meteor Release 1.2.1 breaks this package. I have been using it with 1.2.0.2 and it worked fine. For a latest project I started working with 1.2.1 and it didn't work. As soon as I downgraded to 1.2.0.2 it worked again !!!

Best, Kaiyes

jerocosio commented 8 years ago

Hi, I'm using it on 1.2.1 without a problem, what kind of problem are you getting?

kaiyes commented 8 years ago

hey thanks for answering so quickly !! It gives me this error in the console 1 2 screen shot 2015-12-17 at 8 57 32 am

kaiyes commented 8 years ago

https://github.com/kaiyes/cloudinary-autoform-issue

I made a small repo to reproduce the issue

Fauphi commented 8 years ago

Hi @kaiyes ,

I got the same error in my project, but the solution is simple: Just add the package 'check' to your meteor application.

meteor add check

That solved the problem for me.

kaiyes commented 8 years ago

@Fauphi hey thanks. It worked !! Could you please explain what exactly it solved ?

Fauphi commented 8 years ago

@kaiyes I think the check package is used somewhere in the code of the JS file, but I couldn't find any check() function calls, so I don't know where and how. The Match is not defined error message led me to the check package.

kaiyes commented 8 years ago

okay , thanks a lot .