Skip to content
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

Firefox macOS installation fails #4102

Closed
janbiedermann opened this issue Mar 2, 2019 · 4 comments
Closed

Firefox macOS installation fails #4102

janbiedermann opened this issue Mar 2, 2019 · 4 comments
Labels

Comments

@janbiedermann
Copy link

Steps to reproduce

  • Puppeteer version: puppeteer-firebox 0.5.0
  • Platform / OS version: macOS 10.14.3, /dev/disk1s1 on / (apfs, local, journaled)
  • URLs (if applicable):
  • Node.js version: 11.10.1

What steps will reproduce the problem?
yarn add puppeteer-firefox

What is the expected result?
success

What happens instead?

error /Users/jan/workspace/isomorfeus-puppetmaster/ruby/node_modules/puppeteer-firefox: Command failed.
Exit code: 1
Command: node install.js
Arguments: 
Directory: /Users/jan/workspace/isomorfeus-puppetmaster/ruby/node_modules/puppeteer-firefox
Output:
ERROR: Failed to download Firefox r2f959d575a3d61f5dda12e4e2dca1f46a92ab569!
{ Error: ENOENT: no such file or directory, chmod '/Users/jan/workspace/isomorfeus-puppetmaster/ruby/node_modules/puppeteer-firefox/.local-browser/firefox-mac-2f959d575a3d61f5dda12e4e2dca1f46a92ab569/firefox/Nightly.app/Contents/MacOS/Firefox'
  -- ASYNC --
    at BrowserFetcher.<anonymous> (/Users/jan/workspace/isomorfeus-puppetmaster/ruby/node_modules/puppeteer-firefox/lib/helper.js:31:27)
    at Object.<anonymous> (/Users/jan/workspace/isomorfeus-puppetmaster/ruby/node_modules/puppeteer-firefox/install.js:47:16)
    at Module._compile (internal/modules/cjs/loader.js:738:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:749:10)
    at Module.load (internal/modules/cjs/loader.js:630:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:570:12)
    at Function.Module._load (internal/modules/cjs/loader.js:562:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:801:12)
    at internal/main/run_main_module.js:21:11
  errno: -2,
  code: 'ENOENT',
  syscall: 'chmod',
  path:
   '/Users/jan/workspace/isomorfeus-puppetmaster/ruby/node_modules/puppeteer-firefox/.local-browser/firefox-mac-2f959d575a3d61f5dda12e4e2dca1f46a92ab569/firefox/Nightly.app/Contents/MacOS/Firefox' }

It appears the actual file name is:
'/Users/jan/workspace/isomorfeus-puppetmaster/ruby/node_modules/puppeteer-firefox/.local-browser/firefox-mac-2f959d575a3d61f5dda12e4e2dca1f46a92ab569/firefox/Nightly.app/Contents/MacOS/firefox'

a lower case 'firefox' instead of the requested upper case one.

aslushnikov added a commit to aslushnikov/puppeteer that referenced this issue Mar 3, 2019
OSX might have case-sensitive partitions, so make sure we're precise.

Fix puppeteer#4102
@aslushnikov
Copy link
Contributor

@janbiedermann Thanks for reporting this. We weren't ready to case-sensetive fs on os x; fix'll land soon.

aslushnikov added a commit that referenced this issue Mar 4, 2019
OSX might have case-sensitive partitions, so make sure we're precise.

Fix #4102
kiku-jw pushed a commit to kiku-jw/puppeteer that referenced this issue Apr 6, 2019
OSX might have case-sensitive partitions, so make sure we're precise.

Fix puppeteer#4102
kiku-jw pushed a commit to kiku-jw/puppeteer that referenced this issue Apr 6, 2019
@echo-bravo-yahoo
Copy link

Hey! I'm still seeing this on npm install puppeteer-firefox. Is the npm version stale (reports as puppeteer-firefox@0.5.0)? I would add it to package.json as username/repo#branch, but there doesn't appear to be a dedicated branch for puppeteer-firefox. Any insight on how I can use this on a case-sensitive OS X drive?

@michaelsalexander83
Copy link

Same problem.
Please is there a solution?

@michaelsalexander83
Copy link

Is there a way to manually complete the installation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants