Closed jsoverson closed 10 years ago
When looking for the casper bin, the modulePaths seem to only look for casper in the global install dir, or as a sibling to grunt-casper, and not as a local dependency.
Am I doing something wrong?
modulePaths : [ path.resolve(__dirname, '../../..'), //local '/usr/local/lib/node_modules' //global ],
If casper is installed as a local dependency to grunt-casper shouldn't there be a modulePath like:
path.resolve(__dirname, '../../node_modules'), // local to grunt-casper
I feel like this is probably my error, so am opening an issue instead of issuing a PR.
Thanks chris!
Thanks Jarrod. I have added the local path when loading the casper binary and published grunt-casper@0.3.10.
When looking for the casper bin, the modulePaths seem to only look for casper in the global install dir, or as a sibling to grunt-casper, and not as a local dependency.
Am I doing something wrong?
If casper is installed as a local dependency to grunt-casper shouldn't there be a modulePath like:
I feel like this is probably my error, so am opening an issue instead of issuing a PR.
Thanks chris!