Skip to content

[BUG][0.12.1] Unable to install on mac10.13 #1535

@roblav96

Description

@roblav96

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

> [email protected] 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions