Closed sulthonzh closed 6 years ago
You should replace "../injectables/jquery.min.js"
with a path to an existing jQuery file. It can also be an URL, "https://code.jquery.com/jquery-3.2.1.min.js"
will most certainly work.
why this is give me same error?
run from casperjs
That's weird. Can you try adding --web-security=false
between the casperjs binary and your script? Are you using a proxy?
not using proxy, tried --web-security=false
but not effect, how about local lib *.js, where is right path to store injections lib? like my SS, Right?
The path is relative to your working directory. Maybe try putting jquery.js
in the same folder?
how solvethis error : when run with thiscommand
./node_modules/casperjs/bin/casperjs lib/myNewBot.js