guness / bitrise-step-firebase-app-distribution

Upload your apps to Firebase and sends email to your testers.
MIT License
35 stars 28 forks source link

do not install firebase globally #13

Closed xuzhe closed 4 years ago

xuzhe commented 4 years ago

Since some Bitrise stack seems have firebase pre-installed at /local/usr/bin, install firebase-tools globally will cause this step failed with error: npm ERR! code EEXIST

Refer to issue: https://github.com/guness/bitrise-step-firebase-app-distribution/issues/12

guness commented 4 years ago

actually on failed cases, firebase is already installed on the machine. so no need to install them locally again.

Maybe on future we can give option to select firebase versions, then installing locally could work. I have created a PR contains the fix, until then you may use master branch to test it out on your side.