You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use this library, and I start with the line var browser = await puppeteer.launch();. It works well on Windows, but there is a problem when I run my app as a web app. I get the following error: Error: Unsupported operation: Platform._environment.
And this StackTrace:
It comes from line 299 in file Puppeteer.dart: noSandboxFlag ??= Platform.environment['CHROME_FORCE_NO_SANDBOX'] == 'true';
My config is the following:
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.19.5, on Microsoft Windows [Version 10.0.19045.4291], locale en-GB)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.5.1)
[√] Android Studio (version 2021.2)
[√] IntelliJ IDEA Community Edition (version 2022.1)
[√] VS Code (version 1.88.1)
[√] Connected device (3 available)
[√] Network resources
• No issues found!
Do I do something wrong or is it something that has to be fixed ?
The text was updated successfully, but these errors were encountered:
I am trying to use this library, and I start with the line
var browser = await puppeteer.launch();
. It works well on Windows, but there is a problem when I run my app as a web app. I get the following error:Error: Unsupported operation: Platform._environment
.And this StackTrace:
It comes from line 299 in file Puppeteer.dart:
noSandboxFlag ??= Platform.environment['CHROME_FORCE_NO_SANDBOX'] == 'true';
My config is the following:
Do I do something wrong or is it something that has to be fixed ?
The text was updated successfully, but these errors were encountered: