question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: Browser does not exist

See original GitHub issue

Hi, I installed storybook-chrome-screenshot 1.3.0 and face this error when running npm run screenshot on Windows 10:

UnhandledPromiseRejectionWarning: Error: Browser does not exist
    at Browser.<anonymous> (C:\app\node_modules\storybook-chrome-screenshot\lib\core\app\Browser.js:70:27)
    at step (C:\app\node_modules\storybook-chrome-screenshot\lib\core\app\Browser.js:32:23)
    at Object.next (C:\app\node_modules\storybook-chrome-screenshot\lib\core\app\Browser.js:13:53)
    at C:\app\node_modules\storybook-chrome-screenshot\lib\core\app\Browser.js:7:71
    at new Promise (<anonymous>)
    at __awaiter (C:\app\node_modules\storybook-chrome-screenshot\lib\core\app\Browser.js:3:12)
    at Browser.close (C:\app\node_modules\storybook-chrome-screenshot\lib\core\app\Browser.js:67:16)
    at C:\app\node_modules\storybook-chrome-screenshot\lib\core\app\App.js:217:100
    at Array.map (<anonymous>)
    at App.<anonymous> (C:\app\node_modules\storybook-chrome-screenshot\lib\core\app\App.js:217:72)

There are no warnings/errors when installing puppeteer.

Thanks!

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:4
  • Comments:5

github_iconTop GitHub Comments

1reaction
roalonsocommented, Mar 1, 2019

Pass the browser you want to use on storybook-chrome-screenshot as Puppeteer configuration, for example, if you have Chrome:

> storybook-chrome-screenshot --puppeteer-launch-config '{"args": ["--no-sandbox", "--disable-setuid-sandbox", "--disable-dev-shm-usage"], "executablePath": "chrome.exe"}'
0reactions
MasterMotoicommented, Apr 28, 2021

Hi, I’m hitting the exact same issue on windows 10 when trying to execute storybook-chrome-screenshot. Is there any solution for this ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Property 'browser' does not exist on type 'Process'. · Issue #2177
How to solve this error in TypeScript?
Read more >
process.browser does not exist - Stack Overflow
Hey! I think the process variable is only available in the node env and electron if I'm not wrong. You can try to...
Read more >
How to Fix the ERR_CONNECTION_REFUSED Error in Chrome
To do so, begin by opening up Chrome's primary menu (in the top-right corner of your browser window). From there, select More Tools:...
Read more >
How To Fix This Webpage Is Not Available Error In Google ...
This webpage is not available is one of the most irritating errors in Google Chrome that many internet users are encountering. When it...
Read more >
How To Fix “Webpage Not Available” Error in Your Browser
Solved: This webpage is not available in Google Chrome, Edge, and Firefox · Method 1. Make sure the website URL is correct ·...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found