andyshora/grunt-yslow

Fatal error: Unexpected end of input

Closed this issue · 1 comments

Did I miss anything?

Using the example provided in the README, I get the following output.

$ grunt yslow
Running "yslow:pages" (yslow) task
>> Testing 2 URLs, this might take a few moments...
Fatal error: Unexpected end of input

I put an example package in this gist so you can see exactly what I have setup.

I see the problem. Going to submit a pull request. Even though this package requires phantomjs as a dependency and puts it in ./node_modules/grunt-yslow/node_modules/grunt-lib-phantomjs/node_modules/phantomjs, it is not in the users path. Probably easiest to instruct the user to install phantomjs globally on the system.