Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PhantomJS doesn't like nodejs-legacy on Ubuntu. #7

Open
drobati opened this issue Apr 12, 2015 · 0 comments
Open

PhantomJS doesn't like nodejs-legacy on Ubuntu. #7

drobati opened this issue Apr 12, 2015 · 0 comments
Labels

Comments

@drobati
Copy link
Contributor

drobati commented Apr 12, 2015

Received the message This failure might be due to the use of legacy binary "node". Not sure if Hayt will run if we remove it though.

Removing /home/vagrant/arrakis/arrakis-hubot/node_modules/phantomjs/lib/phantom
Copying extracted folder /home/vagrant/tmp/phantomjs/phantomjs-1.9.8-linux-x86_6
4.tar.bz2-extract-1428869700597/phantomjs-1.9.8-linux-x86_64 -> /home/vagrant/ar
rakis/arrakis-hubot/node_modules/phantomjs/lib/phantom
Writing location.js file
Phantom installation failed { [Error: ENOTDIR, not a directory '/home/vagrant/ar
rakis/arrakis-hubot/node_modules/phantomjs/lib/phantom/bin/phantomjs']
  errno: 27,
  code: 'ENOTDIR',
  path: '/home/vagrant/arrakis/arrakis-hubot/node_modules/phantomjs/lib/phantom/
bin/phantomjs',
  syscall: 'chmod' } Error: ENOTDIR, not a directory '/home/vagrant/arrakis/arra
kis-hubot/node_modules/phantomjs/lib/phantom/bin/phantomjs'
    at Object.fs.chmodSync (evalmachine.<anonymous>:826:18)
    at Object.chmodSync (/home/vagrant/arrakis/arrakis-hubot/node_modules/phanto
mjs/node_modules/fs-extra/node_modules/graceful-fs/polyfills.js:141:17)
    at Promise.validExit [as _successFn] (/home/vagrant/arrakis/arrakis-hubot/no
de_modules/phantomjs/install.js:145:8)
    at Promise._call (/home/vagrant/arrakis/arrakis-hubot/node_modules/phantomjs
/node_modules/kew/kew.js:373:13)
    at Promise._withInput (/home/vagrant/arrakis/arrakis-hubot/node_modules/phan
tomjs/node_modules/kew/kew.js:333:25)
    at Promise.resolve (/home/vagrant/arrakis/arrakis-hubot/node_modules/phantom
js/node_modules/kew/kew.js:105:27)
    at resolver (/home/vagrant/arrakis/arrakis-hubot/node_modules/phantomjs/node
_modules/kew/kew.js:409:17)
    at next (/home/vagrant/arrakis/arrakis-hubot/node_modules/phantomjs/node_mod
ules/fs-extra/node_modules/rimraf/rimraf.js:70:7)
    at CB (/home/vagrant/arrakis/arrakis-hubot/node_modules/phantomjs/node_modul
es/fs-extra/node_modules/rimraf/rimraf.js:106:9)
    at Object.oncomplete (fs.js:107:15)
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian
@drobati drobati mentioned this issue Apr 12, 2015
Merged
@drobati drobati added the bug label Apr 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant