JKHeadley / appy

🚀 A full stack boilerplate web app
https://appyapp.io
MIT License
256 stars 65 forks source link

Problems to install in Ubuntu 16.04 #3

Open aburbanol opened 6 years ago

aburbanol commented 6 years ago

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

geckodriver@1.11.0 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 eslint-config-prettier-standard@2.0.0 requires a peer of eslint-config-standard@^11.0.0 but none is installed. You must install peer dependencies yourself. npm WARN nes@6.5.2 requires a peer of hapi@>=13.0.0 but none is installed. You must install peer dependencies yourself. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.2 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! geckodriver@1.11.0 postinstall: node index.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the geckodriver@1.11.0 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 commented 6 years ago

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

sudo yarn global add geckodriver

?