webdriverio-community/node-geckodriver

npm i --save-dev geckodriver fails because no binary is installed

Closed this issue · 2 comments

Repro

npm i --save-dev geckodriver

Expected

geckodriver to be downloaded and installed

Actual

pm ERR! path /Users/.../src/.../node_modules/geckodriver/bin/geckodriver
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod '/Users/.../src/.../node_modules/geckodriver/bin/geckodriver'
npm ERR! enoent This is related to npm not being able to find a file.

Notes

  • The geckodriver folder under node_modules is never created before trying to chmod
  • macOS Mojave
  • npm -v 6.4.1

Should be fixed now in 1.41.1, sorry!

@vladikoff confirmed!