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

Access Violation fail npm install on Linux #21

Open
logannc opened this issue Mar 30, 2015 · 2 comments
Open

Access Violation fail npm install on Linux #21

logannc opened this issue Mar 30, 2015 · 2 comments
Assignees

Comments

@logannc
Copy link

logannc commented Mar 30, 2015

I'm running Linux Mint and when I run sudo npm install dalek-browser-chrome --save-dev, it fails with the error:

Chromedriver installation failed Error: EACCES, permission denied '/home/logan/tmp/chromedriver'
    at Object.fs.mkdirSync (fs.js:647:18)
    at mkdir (/home/logan/node_modules/dalek-browser-chrome/install.js:156:8)
    at Promise._successFn (/home/logan/node_modules/dalek-browser-chrome/install.js:177:7)
    at nextTickCallback (/home/logan/node_modules/dalek-browser-chrome/node_modules/kew/kew.js:47:28)
    at process._tickCallback (node.js:415:13)
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

I have tried with the default version (0.0.11) all the way down to 0.0.7 since that was the version working on the previous installation failure issue(#7). I am led to believe this is an issue in the installation script due to http://stackoverflow.com/questions/18427497/error-installing-dalek-js-module-chrome-browser.

If there is anything I can do to fix the environment it is running in or install from the repo, I'm willing to do that. I'd just like to get it working, ya know?

@asciidisco
Copy link
Member

I think the sudo part is the problem, you shouldn't need to do this: See https://gist.github.com/isaacs/579814

@logannc
Copy link
Author

logannc commented Apr 27, 2015

I keep forgetting to test this on my work computer. I will hopefully test in the morning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants