You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I'm getting an error:
/home/user/node_modules/yadda/examples/casper$ casperjs test.js
TypeError: 'undefined' is not an object (evaluating 'require.cache['/home/user/node_modules/yadda/examples/casper/google-library.js']')
/home/user/node_modules/yadda/examples/casper/google-library.js:38
The reason will be displayed to describe this comment to others. Learn more.
Sorry you're having problems. I just tried yadda on Ubuntu 12.04 with casper latest stable and it runs OK. When I switch to latest from git I get
CasperError: can't find module async
/home/parallels/..../casperjs/bin/bootstrap.js:227 in patchRequire
My guess is they've changed the way require works, and the example has stopped working. I'll drop the casper guys a note and see if they can shed any light.
On Thu, Sep 12, 2013 at 11:48 PM, Stephen Cresswell ***@***.*** wrote:
Sorry you're having problems. I just tried yadda on Ubuntu 12.04 with [casper latest stable](https://github.com/n1k0/casperjs/tarball/1.0.3) and it runs OK. When I switch to latest from git I get
```
CasperError: can't find module async
/home/parallels/..../casperjs/bin/bootstrap.js:227 in patchRequire
```
My guess is they've changed the way require works, and the example has stopped working. I'll drop the casper guys a note and see if they can shed any light.
## Thanks for reporting. I've created an issue [here](#19)
Reply to this email directly or view it on GitHub:
f0eadb4#commitcomment-4081108
The reason will be displayed to describe this comment to others. Learn more.
The casperjs guys have pushed a fix to master, and I've updated the casperjs example in Yadda 0.4.7 accordingly. If you reinstall casperjs from git and follow this example everything should work
---
Vladimir Nikityuk
Email: voffka.nikituk@gmail.com
Mobile: +380984387367
On Sat, Sep 14, 2013 at 7:18 AM, Stephen Cresswell ***@***.*** > wrote:
The casperjs guys have pushed a fix to master, and I've updated the
casperjs example in Yadda 0.4.7 accordingly. If you reinstall casperjs from
git and follow this examplehttps://github.com/acuminous/yadda/tree/master/examples/caspereverything should work
—
Reply to this email directly or view it on GitHubhttps://github.com/acuminous/yadda/commit/f0eadb4101c7a55d7d9fe2c2c42b74ad690b774d#commitcomment-4093015
.
f0eadb4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Guys, probably you can help me.
Host: Ubuntu 13.10.
CasperJS installed using http://docs.casperjs.org/en/latest/installation.html#installing-from-git .
I'm getting an error:
/home/user/node_modules/yadda/examples/casper$ casperjs test.js
TypeError: 'undefined' is not an object (evaluating 'require.cache['/home/user/node_modules/yadda/examples/casper/google-library.js']')
/home/user/node_modules/yadda/examples/casper/google-library.js:38
But google-library.js contains only 37 lines.
f0eadb4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry you're having problems. I just tried yadda on Ubuntu 12.04 with casper latest stable and it runs OK. When I switch to latest from git I get
My guess is they've changed the way require works, and the example has stopped working. I'll drop the casper guys a note and see if they can shed any light.
Thanks for reporting. I've created an issue here
f0eadb4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
f0eadb4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The casperjs guys have pushed a fix to master, and I've updated the casperjs example in Yadda 0.4.7 accordingly. If you reinstall casperjs from git and follow this example everything should work
f0eadb4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.