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

Problems to install in Ubuntu 16.04 #3

Open
aburbanol opened this issue Jul 5, 2018 · 1 comment
Open

Problems to install in Ubuntu 16.04 #3

aburbanol opened this issue Jul 5, 2018 · 1 comment

Comments

@aburbanol
Copy link

Hi,

I'm trying to install appy without docker. I can install the backend and it is working. However, the frontend has problems installing geckodriver using 'npm install' or 'sudo npm install'.

I found in some blogs different ways to install it like:
sudo npm i -g geckodriver --unsafe-perm=true --allow-root
or
sudo yarn add geckodriver

both install succesfully the geckodriver, but when I start the frontend or when I run again 'npm install' I got the same initial error

[email protected] postinstall /home/aburbanol/dev/WebApps/appy/frontend/node_modules/geckodriver

node index.js

Downloading geckodriver... events.js:183
throw er; // Unhandled 'error' event
^

Error: EACCES: permission denied, open 'geckodriver.tar.gz'
npm WARN [email protected] requires a peer of eslint-config-standard@^11.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of hapi@>=13.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: node index.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/aburbanol/.npm/_logs/2018-07-05T12_13_20_368Z-debug.log

@JKHeadley
Copy link
Owner

@aburbanol hmm, I'm not familiar with this issue. Have you tried:

sudo yarn global add geckodriver

?

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

No branches or pull requests

2 participants