Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnhandledPromiseRejectionWarning: Error #9

Open
thibauld opened this issue Jun 16, 2020 · 0 comments
Open

UnhandledPromiseRejectionWarning: Error #9

thibauld opened this issue Jun 16, 2020 · 0 comments

Comments

@thibauld
Copy link

System:

  • ubuntu 18.04.1 LTS
  • npm 6.14.4
  • node 10.19.0
  • bundle-wizard 1.2.0

Hi. Thanks for developing this great tool. I am getting these errors while running bundle-wizard and not sure why / how to fix it:
image

(node:18250) UnhandledPromiseRejectionWarning: Error: Protocol error (Network.getResponseBody): No data found for resource with given identifier
    at Promise (/home/thibauld/.nvm/versions/node/v10.19.0/lib/node_modules/puppeteer/lib/Connection.js:156:63)
    at new Promise (<anonymous>)
    at CDPSession.send (/home/thibauld/.nvm/versions/node/v10.19.0/lib/node_modules/puppeteer/lib/Connection.js:155:16)
    at _contentPromise._bodyLoadedPromise.then (/home/thibauld/.nvm/versions/node/v10.19.0/lib/node_modules/puppeteer/lib/HTTPResponse.js:58:53)
    at process._tickCallback (internal/process/next_tick.js:68:7)
  -- ASYNC --
    at HTTPResponse.<anonymous> (/home/thibauld/.nvm/versions/node/v10.19.0/lib/node_modules/puppeteer/lib/helper.js:116:19)
    at page.on.response (/home/thibauld/.nvm/versions/node/v10.19.0/lib/node_modules/bundle-wizard/src/functions/downloadCoverage.js:108:14)
    at /home/thibauld/.nvm/versions/node/v10.19.0/lib/node_modules/puppeteer/node_modules/mitt/dist/mitt.js:1:233
    at Array.map (<anonymous>)
    at Object.emit (/home/thibauld/.nvm/versions/node/v10.19.0/lib/node_modules/puppeteer/node_modules/mitt/dist/mitt.js:1:217)
    at Page.emit (/home/thibauld/.nvm/versions/node/v10.19.0/lib/node_modules/puppeteer/lib/EventEmitter.js:72:22)
    at Page.networkManager.on (/home/thibauld/.nvm/versions/node/v10.19.0/lib/node_modules/puppeteer/lib/Page.js:180:84)
    at /home/thibauld/.nvm/versions/node/v10.19.0/lib/node_modules/puppeteer/node_modules/mitt/dist/mitt.js:1:233
    at Array.map (<anonymous>)
    at Object.emit (/home/thibauld/.nvm/versions/node/v10.19.0/lib/node_modules/puppeteer/node_modules/mitt/dist/mitt.js:1:217)
(node:18250) 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)
(node:18250) [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.
(node:18250) UnhandledPromiseRejectionWarning: Error: Protocol error (Network.getResponseBody): No data found for resource with given identifier
    at Promise (/home/thibauld/.nvm/versions/node/v10.19.0/lib/node_modules/puppeteer/lib/Connection.js:156:63)
    at new Promise (<anonymous>)
    at CDPSession.send (/home/thibauld/.nvm/versions/node/v10.19.0/lib/node_modules/puppeteer/lib/Connection.js:155:16)
    at _contentPromise._bodyLoadedPromise.then (/home/thibauld/.nvm/versions/node/v10.19.0/lib/node_modules/puppeteer/lib/HTTPResponse.js:58:53)
    at process._tickCallback (internal/process/next_tick.js:68:7)
  -- ASYNC --
    at HTTPResponse.<anonymous> (/home/thibauld/.nvm/versions/node/v10.19.0/lib/node_modules/puppeteer/lib/helper.js:116:19)
    at page.on.response (/home/thibauld/.nvm/versions/node/v10.19.0/lib/node_modules/bundle-wizard/src/functions/downloadCoverage.js:108:14)
    at /home/thibauld/.nvm/versions/node/v10.19.0/lib/node_modules/puppeteer/node_modules/mitt/dist/mitt.js:1:233
    at Array.map (<anonymous>)
    at Object.emit (/home/thibauld/.nvm/versions/node/v10.19.0/lib/node_modules/puppeteer/node_modules/mitt/dist/mitt.js:1:217)
    at Page.emit (/home/thibauld/.nvm/versions/node/v10.19.0/lib/node_modules/puppeteer/lib/EventEmitter.js:72:22)
    at Page.networkManager.on (/home/thibauld/.nvm/versions/node/v10.19.0/lib/node_modules/puppeteer/lib/Page.js:180:84)
    at /home/thibauld/.nvm/versions/node/v10.19.0/lib/node_modules/puppeteer/node_modules/mitt/dist/mitt.js:1:233
    at Array.map (<anonymous>)
    at Object.emit (/home/thibauld/.nvm/versions/node/v10.19.0/lib/node_modules/puppeteer/node_modules/mitt/dist/mitt.js:1:217)
(node:18250) 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: 2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant