1

I am new to meteor. I am trying to build my test app with meteor and trackingjs. I have placed all the files of trackingjs into lib/tracking folder but it gives me a lot f errors like

Your app is crashing. Here's the latest log. Errors prevented startup: While building the application: lib/tracking/assets/opencv_haarcascade_converter.html:1: Can't set DOCTYPE here. (Meteor sets for you) Your application has errors. Waiting for file change.

and after removing the lib/tracking/assets folder I again get errors like :

enter image description here

brandizzi
  • 26,083
  • 8
  • 103
  • 158
Raaz
  • 1,669
  • 2
  • 24
  • 48

1 Answers1

3

Looking at the error, your script depends upon a global tracking variable. So you have to put that in client/compatibility folder. That way the files will be executed without being wrapped in the new variable scope.

jimmypage
  • 656
  • 5
  • 17