Failed to launch chrome! Reason: image not found Mac OS X
See original GitHub issueSteps to reproduce
Tell us about your environment:
- Puppeteer version: 1.14.0
- Platform / OS version: Mac OS X 10.11.6
- URLs (if applicable):
- Node.js version: v10.11.0
- yarn: 1.9.4
What steps will reproduce the problem?
git clone https://github.com/stereobooster/reactSnapshotTest.git
cd reactSnapshotTest
yarn
yarn build
$ react-snap
Error: Failed to launch chrome!
dlopen node_modules/puppeteer/.local-chromium/mac-641577/chrome-mac/Chromium.app/Contents/MacOS/../Versions/75.0.3738.0/Chromium Framework.framework/Chromium Framework: dlopen(node_modules/puppeteer/.local-chromium/mac-641577/chrome-mac/Chromium.app/Contents/MacOS/../Versions/75.0.3738.0/Chromium Framework.framework/Chromium Framework, 261): Library not loaded: /System/Library/Frameworks/MediaPlayer.framework/Versions/A/MediaPlayer
Referenced from: node_modules/puppeteer/.local-chromium/mac-641577/chrome-mac/Chromium.app/Contents/Versions/75.0.3738.0/Chromium Framework.framework/Versions/A/Chromium Framework
Reason: image not found
TROUBLESHOOTING: https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md
at onClose (node_modules/puppeteer/lib/Launcher.js:342:14)
at Interface.helper.addEventListener (node_modules/puppeteer/lib/Launcher.js:331:50)
at Interface.emit (events.js:187:15)
at Interface.close (readline.js:379:8)
at Socket.onend (readline.js:157:10)
at Socket.emit (events.js:187:15)
at endReadableNT (_stream_readable.js:1092:12)
at process._tickCallback (internal/process/next_tick.js:63:19)
error Command failed with exit code 1.
What is the expected result?
What happens instead?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:6
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Failed to launch chrome! Reason: image not found Mac OS X
Node.js version: v10.11.0; yarn: 1.9.4. What steps will reproduce the problem? git clone https://github.com/stereobooster/reactSnapshotTest.git ...
Read more >OS X Framework Library not loaded: 'Image not found'
The error in the original post is: dyld: Library not loaded: /Library/Frameworks/TestMacFramework.framework/Versions/A/TestMacFramework Referenced from: ...
Read more >6 Ways to Fix Google Chrome Issues on macOS 10.15 Catalina
Start by checking the internet connection speed and ensure it is okay. Ensure that system requirements and permissions to do the update are...
Read more >How to Fix Images Not Loading in Chrome - Online Tech Tips
Launch Chrome, select the three dots at the top-right corner, and choose Settings. Select Privacy and security on the left and Site Settings...
Read more >Chromium build on Mac OSX fails - Google Groups
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
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 FreeTop 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
Top GitHub Comments
I have the same issue on Mac OS X 10.10.5.
Downgrading to puppeteer 1.13 (chromium rev mac-637110) fixes it.
@aslushnikov I installed
puppeteer@next
and I’m getting the same error while trying to test using Jest + Puppeteer: