-
Notifications
You must be signed in to change notification settings - Fork 442
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
Crash when using cmd #117
Comments
For some reason the Chromium build that puppeteer pulls down from npm crashes on your system. Instead of debugging that (which may prove difficult) you could try plugging in your own browser (Chrome or the Chromium-based Microsoft Edge should both work). See #32 (comment) for details. |
still crashes with the same message even after changing my browser. i have tried powershell and cmd |
Really wish i could help here, but since i'm unable to reproduce i don't really know where to begin. Can you run Try adding
Also, if you're running in a VM make sure it has plenty of memory, Chromium doesn't joke around. If you're running in a Docker container, don't. I've also noticed you're on Node 14. I have not tested on 14. Try with latest stable 13.x. nvm is very handy for switching between versions. If nothing helps, Somewhere here (after that line) - page.on('error', err => {
console.error('Page crashed: ', err);
}); |
interesting.... adding the |
Downside is breaking chrome's security model since there is no sandbox |
Should be fine, both the app and the browser window are controlled by the user and the execution time is very limited, i don't see a viable attack vector. Alternatively, we could catch that page error and try to launch puppeteer again with |
It should be fine since we check that we are not admin/root and we visit only Microsoft pages...so I think this can be a fix but if we can found another fix down the line i would prefer to re enable sandboxing |
Destreamer now launches Chromium with |
Hi, I am using cmd to download videos.
When I run the following, the Chrome browser pops up for a brief second before crashing.
Some logs:
There is nothing in my videos directory.
npm version: 6.14.4
node version: v14.0.0
destreamer version: 94b6da7
Windows 10 build 18363
Thanks for any help!
The text was updated successfully, but these errors were encountered: