question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG][0.12.1] Unable to install on `mac10.13`

See original GitHub issue

Context:

  • Playwright Version: v0.12.1
  • Operating System: Mac
  • Extra: macOS High Sierra 10.13.6

Code Snippet npm install playwright-core playwright-chromium

~/project on  master [!?] 
$ npm install playwright-core playwright-chromium

> playwright-chromium@0.12.1 install /Users/admin/project/node_modules/playwright-chromium
> node install.js

(node:54634) UnhandledPromiseRejectionWarning: TypeError: path.join is not iterable (cannot read property Symbol(Symbol.iterator))
    at Object.executablePath (/Users/admin/project/node_modules/playwright-core/lib/server/browserFetcher.js:125:17)
    at downloadOptionsFromENV (/Users/admin/project/node_modules/playwright-core/download-browser.js:44:36)
    at /Users/admin/project/node_modules/playwright-chromium/install.js:21:40
    at Object.<anonymous> (/Users/admin/project/node_modules/playwright-chromium/install.js:22:3)
    at Module._compile (internal/modules/cjs/loader.js:1147:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1167:10)
    at Module.load (internal/modules/cjs/loader.js:996:32)
    at Function.Module._load (internal/modules/cjs/loader.js:896:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
    at internal/main/run_main_module.js:17:47

Describe the bug

Can’t npm install playwright-chromium, throws at lib/server/browserFetcher.js:125:17<executablePath> due to mac10.13 not being mapped on the RELATIVE_EXECUTABLE_PATHS.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
aslushnikovcommented, Mar 30, 2020

Fixed with #1549

1reaction
roblav96commented, Mar 25, 2020

The sw_vers -productVersion resulting in mac10.13 need to be mapped on the variables DOWNLOAD_URLS and RELATIVE_EXECUTABLE_PATHS

Read more comments on GitHub >

github_iconTop Results From Across the Web

unable to download Mac OS 10.13 - Apple Community
The error message you are seeing is the App Store noticing that you have a copy of Install macOS High Sierra.app in your...
Read more >
How to pip install old version of library(tensorflow)?
This works for me on Mac OS 10.13.1. pip install --user install tensorflow==1.3.0.
Read more >
MSGFgui tries to locate MSGF.zip from a nonexistent UCSC source
It appears that MSGFgui is trying to get MSGFplus from a nonexistent source at UCSC. This seems odd, since I have installed MS-GF+...
Read more >
kencu - MacPorts Trac
3: codesign fails on 10.15+: main executable or Info.plist must be a regular file (no symlinks, etc.) #66053: installing base with ./configure ...
Read more >
Releases - Local - Local WP
Fixed a bug preventing Ubuntu users from installing WordPress Plugins in the ... bug where Pulling/Pushing to/from WP Engine was not working on...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found