-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
mac app: #284
Comments
I think you should opt-out of Something like that in your Profile.entitlements:
|
I triggered the pusheter initialization through a button, and the above error disappeared, but error changed to [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Exception: Websocket url not found |
com.apple.security.app-sandbox var browser = await puppeteer.launch( |
I built a widget on FlutterUI and launched a class through the widget. In the class, there is an instance method that initializes the puppeteer.launch. then got error
flutter: 2024-02-05 15:10:28.352396:puppeteer.launcher:1
INFO: Start .local-chrome/119.0.6045.105/chrome-mac-x64/Google Chrome for Testing.app/Contents/MacOS/Google Chrome for Testing with [--allow-pre-commit-input, --disable-background-networking, --disable-background-timer-throttling, --disable-backgrounding-occluded-windows, --disable-breakpad, --disable-client-side-phishing-detection, --disable-component-extensions-with-background-pages, --disable-component-update, --disable-default-apps, --disable-dev-shm-usage, --disable-extensions, --disable-features=Translate,AcceptCHFrame,MediaRouter,OptimizationHints, --disable-hang-monitor, --disable-ipc-flooding-protection, --disable-popup-blocking, --disable-prompt-on-repost, --disable-renderer-backgrounding, --disable-search-engine-choice-screen, --disable-sync, --enable-automation, --enable-blink-features=IdleDetection, --enable-features=NetworkServiceInProcess2, --export-tagged-pdf, --force-color-profile=srgb, --metrics-recording-only, --no-first-run, --password-store=basic, --use-mock-keychain, --no-sandbox, about:blank, --disable-setuid-sandbox, --remote-debugging-port=0, --user-data-dir=/var/folders/zf/mdsyzmyx5n57b3m447v4_f6w0000gn/T/com.example.mediaClient/puppeteer_dev_profile-N7VFro]
flutter: 2024-02-05 15:10:28.374666:stream:2
SHOUT: 2024-02-05 15:10:28.372952:ProcessException: Operation not permitted
Command: .local-chrome/119.0.6045.105/chrome-mac-x64/Google Chrome for Testing.app/Contents/MacOS/Google Chrome for Testing --allow-pre-commit-input --disable-background-networking --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-component-update --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=Translate,AcceptCHFrame,MediaRouter,OptimizationHints --disable-hang-monitor --disable-ipc-flooding-protection --disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --disable-search-engine-choice-screen --disable-sync --enable-automation --enable-blink-features=IdleDetection --enable-features=NetworkServiceInProcess2 --export-tagged-pdf --force-color-profile=srgb --metrics-recording-only --no-first-run --password-store=basic --use-mock-keychain --no-sandbox about:blank --disable-setuid-sandbox --remote-debugging-port=0 --user-data-dir=/var/folders/zf/mdsyzmyx5n57b3m447v4_f6w0000gn/T/com.example.mediaClient/puppeteer_dev_profile-N7VFro
#0 _ProcessImpl._start (dart:io-patch/process_patch.dart:402:33)
#1 Process.start (dart:io-patch/process_patch.dart:38:20)
#2 Puppeteer.launch (package:puppeteer/src/puppeteer.dart:175:39)
#3 BaseWebView2.createPage (package:media_client/service/base_webview2.dart:30:19)
The text was updated successfully, but these errors were encountered: