stf icon indicating copy to clipboard operation
stf copied to clipboard

OSX installation failure - missing documentation

Open shouse opened this issue 11 years ago • 6 comments

I had to install pkg-config to get it to work: $ brew install pkg-config Perhaps update your documentation. You can close this as non-issue of course.

shouse avatar Jul 19 '15 00:07 shouse

+1

adrien-aubel avatar Jul 20 '15 20:07 adrien-aubel

Another OSX installation failure when doing npm install -g stf is this:

npm ERR! Darwin 14.4.0 npm ERR! argv "node" "/usr/local/bin/npm" "install" "-g" "stf" npm ERR! node v0.12.0 npm ERR! npm v2.7.1 npm ERR! path /usr/local/lib/node_modules/stf/node_modules/stf-wiki npm ERR! code ENOTEMPTY npm ERR! errno -66 npm ERR! ENOTEMPTY, rmdir '/usr/local/lib/node_modules/stf/node_modules/stf-wiki' npm ERR!

npm ERR! If you need help, you may report this error at: npm ERR! https://github.com/npm/npm/issues npm ERR! error rolling back Error: ENOTEMPTY, rmdir '/usr/local/lib/node_modules/stf/node_modules/stf-wiki' npm ERR! error rolling back at Error (native) npm ERR! error rolling back { [Error: ENOTEMPTY, rmdir '/usr/local/lib/node_modules/stf/node_modules/stf-wiki'] npm ERR! error rolling back errno: -66, npm ERR! error rolling back code: 'ENOTEMPTY', npm ERR! error rolling back path: '/usr/local/lib/node_modules/stf/node_modules/stf-wiki' }

nasahapps avatar Jul 20 '15 21:07 nasahapps

@nasahapps Can I ask how you installed node? Looks to me like you probably used the official installer, but I'm asking just to be sure.

sorccu avatar Jul 21 '15 01:07 sorccu

brew install node On Jul 20, 2015 6:13 PM, "Simo Kinnunen" [email protected] wrote:

@nasahapps https://github.com/nasahapps Can I ask how you installed node? Looks to me like you probably used the official installer, but I'm asking just to be sure.

— Reply to this email directly or view it on GitHub https://github.com/openstf/stf/issues/17#issuecomment-123120247.

nasahapps avatar Jul 21 '15 01:07 nasahapps

@nasahapps It does work for me on latest Yosemite, although brew installed the latest Node.js (0.12.7) instead of 0.12.0. Perhaps try upgrading?

I've seen the same error before due to having my repo inside Dropbox and/or BitTorrent Sync (they presumably "recovered" some of the files NPM wanted to delete before it got to delete the folder), but I don't think that's the case here.

I've also seen similar errors occur due to permission problems, although the logs usually tell you if that's the case (it's usually a small message before the other errors). Might be worth running brew doctor and Disk Utility's Repair Disk Permissions just to be sure, though.

sorccu avatar Jul 21 '15 01:07 sorccu

Thanks. And bada$$ software BTW

shouse avatar Jul 21 '15 17:07 shouse