{"action":"opened","issue":{"url":"https://api.github.com/repos/RelaxedJS/ReLaXed/issues/117","repository_url":"https://api.github.com/repos/RelaxedJS/ReLaXed","labels_url":"https://api.github.com/repos/RelaxedJS/ReLaXed/issues/117/labels{/name}","comments_url":"https://api.github.com/repos/RelaxedJS/ReLaXed/issues/117/comments","events_url":"https://api.github.com/repos/RelaxedJS/ReLaXed/issues/117/events","html_url":"https://github.com/RelaxedJS/ReLaXed/issues/117","id":386510363,"node_id":"MDU6SXNzdWUzODY1MTAzNjM=","number":117,"title":"Protocol Error @ Page.printToPDF","user":{"login":"ericol","id":16800,"node_id":"MDQ6VXNlcjE2ODAw","avatar_url":"https://avatars1.githubusercontent.com/u/16800?v=4","gravatar_id":"","url":"https://api.github.com/users/ericol","html_url":"https://github.com/ericol","followers_url":"https://api.github.com/users/ericol/followers","following_url":"https://api.github.com/users/ericol/following{/other_user}","gists_url":"https://api.github.com/users/ericol/gists{/gist_id}","starred_url":"https://api.github.com/users/ericol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericol/subscriptions","organizations_url":"https://api.github.com/users/ericol/orgs","repos_url":"https://api.github.com/users/ericol/repos","events_url":"https://api.github.com/users/ericol/events{/privacy}","received_events_url":"https://api.github.com/users/ericol/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-01T23:55:04Z","updated_at":"2018-12-01T23:55:04Z","closed_at":null,"author_association":"NONE","body":"I'm getting the error below when running relaxed on a simple test file. This is a fresh vagrant box that I installed for relaxed, but I had the same issue in another box that I was using for development.\r\nNode is at version v11.30, npm at 6.4.1\r\n\r\nI tried with one of the examples provided and got the same error.\r\n\r\n```bash\r\nLaunching ReLaXed...\r\n\r\nProcessing /test.pug...\r\n... HTML generated in 0.1s\r\n... Document loaded in 0.1s\r\n... Network idled in 0.2s\r\n(node:18412) UnhandledPromiseRejectionWarning: Error: Protocol error (Page.printToPDF): Invalid parameters displayHeaderFooter: boolean value expected\r\n    at Promise (/home/vagrant/.nvm/versions/node/v11.3.0/lib/node_modules/relaxedjs/node_modules/puppeteer/lib/Connection.js:186:56)\r\n    at new Promise (<anonymous>)\r\n    at CDPSession.send (/home/vagrant/.nvm/versions/node/v11.3.0/lib/node_modules/relaxedjs/node_modules/puppeteer/lib/Connection.js:185:12)\r\n    at Page.pdf (/home/vagrant/.nvm/versions/node/v11.3.0/lib/node_modules/relaxedjs/node_modules/puppeteer/lib/Page.js:911:39)\r\n    at Page.<anonymous> (/home/vagrant/.nvm/versions/node/v11.3.0/lib/node_modules/relaxedjs/node_modules/puppeteer/lib/helper.js:145:23)\r\n    at exports.masterToPDF (/home/vagrant/.nvm/versions/node/v11.3.0/lib/node_modules/relaxedjs/src/masterToPDF.js:140:14)\r\n    at process.internalTickCallback (internal/process/next_tick.js:77:7)\r\n(node:18412) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)\r\n(node:18412) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.\r\n```"}}
{"actor":{"display_login":"ericol"}}