I am trying to open my meteor app from casperjs and it seems that the meteor files are not loading properly.
The page is:
https://app.cloudreputation.io/
If I listen to the page.error callback, it shows a lot of errors like:
Error: ReferenceError: Can't find variable: Meteor
Error: ReferenceError: Can't find variable: Template
Error: ReferenceError: Can't find variable: Tracker
Again and again...
These errors are coming from underlying phantomjs. I tried to just open the page with phantomjs and the same errors occurs.
On any browser (chrome, safari, firefox) is working properly, no errors and the page is loaded successfully.
It seems a version problem because casperjs has been working with my app since long time ago, but now it is unable to open the page.
My page settings in casperjs
pageSettings: {
loadImages: true,
loadPlugins: true,
javascriptEnabled: true,
verbose: true,
logLevel: 'debug',
userAgent: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36"
}
Versions:
Meteor 1.5.2.2
casperjs 1.1.4
phantomjs 2.1.1