Version 4 doesn't provide bin script when installed
marcin-wosinek opened this issue · 4 comments
I'm troubleshooting an issue that I got in generating Nightwatch e2e with Angular CLI via @nightwatch/schematics. The scripts there cannot find geckodriver
. I've managed to address this issue by downgrading node-geckodriver to version 3.
While trying to pinpoint the source of the issue, I've noticed the node_modules/.bin
is missing geckodrive
script when version 4 is installed. I installed v3 and v4 as sole dependencies of in two separate packages. The resulting files:
$ ls v3/node_modules/.bin
geckodriver mkdirp
$ ls v4/node_modules/.bin
mkdirp node-which rimraf
My test repository: https://github.com/marcin-wosinek/geckodriver-test.
I'm on MacOS, I'm using npm 9.5.0 and node v18.15.0
Thanks for reporting 🙏
This is merged and released now!
@christian-bromann thanks for merging!
I think it will still fail for many users—the JS files tries to import `"../dist/..", a folder that is not included in the repo.
Ah, it included in packaged installed via npm. All good, thanks a lot!