yslow icon indicating copy to clipboard operation
yslow copied to clipboard

phantomjs://code/yslow.js:5 in global code

Open KennethNagin opened this issue 5 years ago • 1 comments

I'm new to yslow. I did the in windows install but getting an error when running your basic commands: $ ./bin/phantomjs.exe yslow.js --info basic --format tap --threshold B http://yslow.org TypeError: undefined is not an object (evaluating 'args.length')

phantomjs://code/yslow.js:5 in global code

I also did the linux install on ubuntu and got the same error message. What am I missing

KennethNagin avatar Jan 27 '19 09:01 KennethNagin

I've encountered the same issue. at the start of line 5: var i,arg,page,urlCount,viewport,webpage=require("webpage"),args=phantom.args,len=args.length change "args=phantom.args,len=args.length" to "args=phantom.args;var len=args.length"

avihayb avatar May 26 '20 22:05 avihayb