sitespeedio / sitespeed.io

sitespeed.io is an open-source tool for comprehensive web performance analysis, enabling you to test, monitor, and optimize your website’s speed using real browsers in various environments.
https://www.sitespeed.io/
MIT License
4.76k stars 603 forks source link

Cannot read property 'forEach' of undefinedTypeError: Cannot read property 'forEach' of undefined #630

Closed badrinathvm closed 9 years ago

badrinathvm commented 9 years ago

Facing error as mentioned in below screenshot , Any pointers will help

screen shot 2015-03-30 at 11 46 15 am

soulgalore commented 9 years ago

Hi @badrinathvm , to help out I need to have info on how you run and exact version so I can try to reproduce.

Best Peter

badrinathvm commented 9 years ago

This issue is happening after me replacing old sitespeed.io jenkins plugin with new one and also after updating to sitespeed.io 3.2 from 3.1

badrinathvm commented 9 years ago

More details :

Version : sitespeed.io: '3.2.3'

SiteSpeed : 1.0 - beta8

I suspect latest version of site speed is not compatible with Jenkins plugin.

badrinathvm commented 9 years ago

I found out the issue , it is happening when i set custom "budget.json"

try running below command

sitespeed.io -u http://www.sitespeed.io --budget budget.json -b chrome -n 3 -d 0

below is the error

screen shot 2015-03-31 at 3 03 47 pm

badrinathvm commented 9 years ago

Failing when we use --budget in command.

soulgalore commented 9 years ago

yes could you please supply the budget.json file and I can have a look to see if it is wrong in the config or a bug :)

badrinathvm commented 9 years ago

sure , below are the contents of the budget.json

{ "timings": { "speedIndex": 10000 } }

screen shot 2015-04-01 at 8 01 06 am

soulgalore commented 9 years ago

yes looks like a bug, give me a couple of minutes

badrinathvm commented 9 years ago

Sure .. I would be very happy for solution.

soulgalore commented 9 years ago

hi @badrinathvm I've released 3.2.4 now where this is fixed, thanks for reporting!

best peter