{"action":"created","issue":{"url":"https://api.github.com/repos/sitespeedio/sitespeed.io/issues/2287","repository_url":"https://api.github.com/repos/sitespeedio/sitespeed.io","labels_url":"https://api.github.com/repos/sitespeedio/sitespeed.io/issues/2287/labels{/name}","comments_url":"https://api.github.com/repos/sitespeedio/sitespeed.io/issues/2287/comments","events_url":"https://api.github.com/repos/sitespeedio/sitespeed.io/issues/2287/events","html_url":"https://github.com/sitespeedio/sitespeed.io/issues/2287","id":406533830,"node_id":"MDU6SXNzdWU0MDY1MzM4MzA=","number":2287,"title":"Scripting - TypeError: Cannot read property 'replace' of null","user":{"login":"leathej1","id":24658347,"node_id":"MDQ6VXNlcjI0NjU4MzQ3","avatar_url":"https://avatars3.githubusercontent.com/u/24658347?v=4","gravatar_id":"","url":"https://api.github.com/users/leathej1","html_url":"https://github.com/leathej1","followers_url":"https://api.github.com/users/leathej1/followers","following_url":"https://api.github.com/users/leathej1/following{/other_user}","gists_url":"https://api.github.com/users/leathej1/gists{/gist_id}","starred_url":"https://api.github.com/users/leathej1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leathej1/subscriptions","organizations_url":"https://api.github.com/users/leathej1/orgs","repos_url":"https://api.github.com/users/leathej1/repos","events_url":"https://api.github.com/users/leathej1/events{/privacy}","received_events_url":"https://api.github.com/users/leathej1/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2019-01-31T18:00:24Z","updated_at":"2019-02-05T13:33:35Z","closed_at":"2019-02-05T13:33:35Z","author_association":"CONTRIBUTOR","body":"<!--\r\nThanks for reporting issues back to sitespeed.io!\r\n\r\nPlease read https://www.sitespeed.io/documentation/sitespeed.io/bug-report/\r\n\r\nMake sure you run the latest stable version, we move quite fast and fixes things.\r\n\r\nTo make it possible for us to help you please explain carefully how we can reproduce your problem. PLEASE give us the exact example how you are running (mask out passwords and URLs you don't want them to be public, but real URLS helps us a lot). Please include:\r\n\r\n- Exact how you run (the exact parameters)\r\n- Which version you are using\r\n- OS (if you use Docker, report the base OS)\r\n- Browser version (if you don't run Docker)\r\n\r\n-->\r\n\r\nI am running a blank scrtipt against the 8.0.6 version of the Docker image on MacOS Mojave. My Docker images and my files are located in the same directory:\r\n`docker run --rm -v \"$(pwd)\":/sitespeed.io sitespeedio/sitespeed.io:8.0.6 blank.js`\r\n\r\nThe script consists of only:\r\n`module.exports = async function(context, commands) {\r\n  // add your own code here\r\n}`\r\n\r\nI am getting the following error:\r\n\r\n```[2019-01-31 17:46:20] ERROR: TypeError: Cannot read property 'replace' of null\r\n    at /usr/src/app/node_modules/browsertime/lib/support/pathToFolder.js:40:37\r\n    at Array.forEach (<anonymous>)\r\n    at module.exports (/usr/src/app/node_modules/browsertime/lib/support/pathToFolder.js:39:18)\r\n    at Collector.perIteration (/usr/src/app/node_modules/browsertime/lib/core/engine/collector.js:176:19)\r\n    at Engine.runByScript (/usr/src/app/node_modules/browsertime/lib/core/engine/index.js:118:23)\r\n    at process._tickCallback (internal/process/next_tick.js:68:7)\r\n"},"comment":{"url":"https://api.github.com/repos/sitespeedio/sitespeed.io/issues/comments/460639061","html_url":"https://github.com/sitespeedio/sitespeed.io/issues/2287#issuecomment-460639061","issue_url":"https://api.github.com/repos/sitespeedio/sitespeed.io/issues/2287","id":460639061,"node_id":"MDEyOklzc3VlQ29tbWVudDQ2MDYzOTA2MQ==","user":{"login":"soulgalore","id":540757,"node_id":"MDQ6VXNlcjU0MDc1Nw==","avatar_url":"https://avatars2.githubusercontent.com/u/540757?v=4","gravatar_id":"","url":"https://api.github.com/users/soulgalore","html_url":"https://github.com/soulgalore","followers_url":"https://api.github.com/users/soulgalore/followers","following_url":"https://api.github.com/users/soulgalore/following{/other_user}","gists_url":"https://api.github.com/users/soulgalore/gists{/gist_id}","starred_url":"https://api.github.com/users/soulgalore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soulgalore/subscriptions","organizations_url":"https://api.github.com/users/soulgalore/orgs","repos_url":"https://api.github.com/users/soulgalore/repos","events_url":"https://api.github.com/users/soulgalore/events{/privacy}","received_events_url":"https://api.github.com/users/soulgalore/received_events","type":"User","site_admin":false},"created_at":"2019-02-05T13:33:35Z","updated_at":"2019-02-05T13:33:35Z","author_association":"MEMBER","body":"Perfect! Just released a new version that warns if you try run without --multi."}}
{"actor":{"display_login":"soulgalore"}}