Проблема решается указанием жесткой зависимости "phantomjs": "1.9.0-6"
Текущий лог при установке:
npm http 200 https://registry.npmjs.org/abbrev/-/abbrev-1.0.4.tgz
npm http 200 https://registry.npmjs.org/proto-list/-/proto-list-1.2.2.tgz
> phantomjs@1.9.1-0 install /Users/tadatuta/Sites/bem-core/libs/bem-pr/node_modules/phantomjs
> node install.js
Downloading http://phantomjs.googlecode.com/files/phantomjs-1.9.1-macosx.zip
Saving to /var/folders/54/bmytzkfn4gv2pk260wgb838m0000gp/T/phantomjs/phantomjs-1.9.1-macosx.zip
Receiving...
{
Received 783K...
Received 1566K...
Received 2348K...
Received 3132K...
Received 3913K...
Received 4696K...
Received 5479K...
Received 6261K...
Received 7044K...
Received 7849K...
Received 8631K...
Received 9416K...
Received 10198K...
Received 10978K total.
Extracting zip contents
Renaming extracted folder /var/folders/54/bmytzkfn4gv2pk260wgb838m0000gp/T/phantomjs/phantomjs-1.9.0-macosx -> /Users/tadatuta/Sites/bem-core/libs/bem-pr/node_modules/phantomjs/lib/phantom
Phantom installation failed Error: ENOENT, no such file or directory '/Users/tadatuta/Sites/bem-core/libs/bem-pr/node_modules/phantomjs/lib/phantom/bin/phantomjs'
at Object.fs.statSync (fs.js:684:18)
at fixFilePermissions (/Users/tadatuta/Sites/bem-core/libs/bem-pr/node_modules/phantomjs/install.js:220:19)
at Promise._successFn (/Users/tadatuta/Sites/bem-core/libs/bem-pr/node_modules/phantomjs/install.js:72:12)
at Promise._withInput (/Users/tadatuta/Sites/bem-core/libs/bem-pr/node_modules/phantomjs/node_modules/kew/kew.js:204:25)
at Promise.resolve (/Users/tadatuta/Sites/bem-core/libs/bem-pr/node_modules/phantomjs/node_modules/kew/kew.js:92:25)
at resolver (/Users/tadatuta/Sites/bem-core/libs/bem-pr/node_modules/phantomjs/node_modules/kew/kew.js:264:17)
at cb (/Users/tadatuta/Sites/bem-core/libs/bem-pr/node_modules/phantomjs/node_modules/ncp/lib/ncp.js:217:38)
at /Users/tadatuta/Sites/bem-core/libs/bem-pr/node_modules/phantomjs/node_modules/ncp/lib/ncp.js:142:14
at Object.oncomplete (fs.js:107:15)
npm ERR! weird error 1
npm ERR! not ok code 0
at ChildProcess.<anonymous> (/Users/tadatuta/Sites/bem-core/node_modules/bem/lib/util.js:783:18)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at Process.ChildProcess._handle.onexit (child_process.js:789:12)
From previous event:
at /Users/tadatuta/Sites/bem-core/node_modules/bem/node_modules/q/q.js:1223:17
at Array.reduce (native)
at /Users/tadatuta/Sites/bem-core/node_modules/bem/node_modules/q/q.js:1216:9
at /Users/tadatuta/Sites/bem-core/node_modules/bem/node_modules/q/q.js:854:23
Проблема решается указанием жесткой зависимости
"phantomjs": "1.9.0-6"
Текущий лог при установке: