Chromium crashes at npm start
See original GitHub issueWhen I try to run the program, chromium crashes like this:
Here’s what the command prompt looks like:
C:\destreamer-master>npm start https://web.microsoftstream.com/video/745f450f-7454-4399-83bf-460ba2b6956f
> destreamer-node@1.0.0 start C:\destreamer-master
> node ./destreamer.js "https://web.microsoftstream.com/video/745f450f-7454-4399-83bf-460ba2b6956f"
Using youtube-dl version 2019.08.13
Launching headless Chrome to perform the OpenID Connect dance...
(node:4524) UnhandledPromiseRejectionWarning: Error: Protocol error (Performance.enable): Target closed.
at C:\destreamer-master\node_modules\puppeteer\lib\Connection.js:183:56
at new Promise (<anonymous>)
at CDPSession.send (C:\destreamer-master\node_modules\puppeteer\lib\Connection.js:182:12)
at Page._initialize (C:\destreamer-master\node_modules\puppeteer\lib\Page.js:137:20)
at Function.create (C:\destreamer-master\node_modules\puppeteer\lib\Page.js:47:16)
at C:\destreamer-master\node_modules\puppeteer\lib\Target.js:74:32
at processTicksAndRejections (internal/process/task_queues.js:85:5)
at async Browser._createPageInContext (C:\destreamer-master\node_modules\puppeteer\lib\Browser.js:177:18)
at async rentVideoForLater (C:\destreamer-master\destreamer.js:45:18)
-- ASYNC --
at Target.<anonymous> (C:\destreamer-master\node_modules\puppeteer\lib\helper.js:111:15)
at Browser._createPageInContext (C:\destreamer-master\node_modules\puppeteer\lib\Browser.js:177:31)
at processTicksAndRejections (internal/process/task_queues.js:85:5)
at async rentVideoForLater (C:\destreamer-master\destreamer.js:45:18)
-- ASYNC --
at Browser.<anonymous> (C:\destreamer-master\node_modules\puppeteer\lib\helper.js:111:15)
at rentVideoForLater (C:\destreamer-master\destreamer.js:45:32)
at processTicksAndRejections (internal/process/task_queues.js:85:5)
(node:4524) 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:4524) [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.
Any help is much appreciated.
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Chromium won't load any websites and keeps crashing
When I run node index.js, Chromium launches, however, it is all white, then my mouse turns into the little rainbow spinning circle (Mac)...
Read more >Chrome crashes with "Fatal error in , line 0 # Check failed ...
The machine has 64GB of RAM and it crashes when it's only using 11GB or so. ... by Chrome (again, according to free...
Read more >Puppeteer crashes Chromium while scrolling Whatsapp : r/node
Hello guys, I'm trying to use Puppeteer to scroll to the last message of a Whatsapp chat so I can get the HTML...
Read more >Troubleshooting - Puppeteer
Make sure all the necessary dependencies are installed. You can run ldd chrome | grep not on a Linux machine to check which...
Read more >Visual Studio Crashes Due to NPM | Matt Ferderer
My assumption is that the issue is a result of NPM's deeply nested directory structure and Microsoft's software typically having limits on the ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I am getting this same issue using puppeteer 2.0.0
Did you download the latest version from here (https://download-chromium.appspot.com/)? I tried doing that and it’s still giving the same error from before. I just downloaded it and replaced the old directory: C:\destreamer-dev\node_modules\puppeteer.local-chromium\win64-706915\chrome-win