Validation is not defined in meteor.js

I am new to meteor, I tried to use file upload using tomitrescak / meteor-uploads

I successfully uploaded some file, but when I tried to delete the downloaded file, I received an error in my terminal. Error link: verification not defined

I checked the documentation and searched the Internet for this error, but could not find a solution for this.

Note. I had a similar error while learning http://meteortips.com/second-meteor-tutorial/iron-router-part-1/

OS: Ubuntu 14.04 meteor: 1.2.1

+7
meteor
source share
1 answer

TL; DR

$ meteor add check 

Longer version

In version Meteor prior to version 1.2, a main package called meteor-platform used to export some characters, including check .

Since v1.2, this is no longer the case, and these characters are no longer available through the platform, but instead use dedicated packages.

Probably one of the packages you use (or your own application code) uses check (possibly in one of its methods) without declaring it as a dependency.

Until the package developers update the dependency, you can overcome the error by adding check as a top-level dependency:

 $ meteor add check 

If you determine which package is causing this problem, you can report it to GitHub or deploy the package yourself, add the missing dependencies and send a pull request.

+23
source share

All Articles