TalG
had some issues with the yarn e2e part so im just leaving the solution here incase anyone else needs it:
when sudo yarn e2e I got the following error:
WebDriverError: unknown error: DevToolsActivePort file doesn’t exist
So I installed the chrome dependencies:
# Install dependencies.
sudo apt-get update
sudo apt-get install -y unzip openjdk-8-jre-headless xvfb libxi6 libgconf-2-4
and then I run yarn e2e (without sudo!) - and got the following error:
E/launcher - Error: Error: EACCES: permission denied, open '/tmp/ts-node-83664a171b996f6b47b27940c0e540adb38adffecc1f827bd3d8f57934963ed3/2497da76d71a693fc309ca76f7cea103df61078c4d815af0552ff9b08e991fe5/940b241aae25b0ad4670cdd0343cfd0879f9ebeb2b8b84cff95122dfbe180ce0.js’
so then I just:
/tmp$ sudo chown -R notSudoUserName:notSudoUserName ts-node-83664a171b996f6b47b27940c0e540adb38adffecc1f827bd3d8f57934963ed3
and then yarn e2e again (no sudo!) and it all worked.