Hi all, two important issues. 1) An update on ins...
# orm-help
r
Hi all, two important issues. 1) An update on installing Docker on Ubuntu 18.04 (bionic) 2) Bug in installing Prisma on digital ocean droplet *For the first issue, the set of commands has changed. * to install a Docker on Ubuntu 18.04 (bionic) follow these commands: sudo apt install apt-transport-https ca-certificates curl software-properties-common curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - sudo add-apt-repository “deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic test” sudo apt update sudo apt install docker-ce as referenced in https://unix.stackexchange.com/questions/363048/unable-to-locate-package-docker-ce-on-a-64bit-ubuntu For the second issue - Bug in installing Prisma on digital ocean droplet I have been struggling with that for a few days and still don’t have the solution. The error i get is basically a permission error
Error: EACCES: permission denied, mkdir '/home/forge/.cache/prisma'
I am using a user called forge as i setup the digitalocean droplet via Laravel Forge system (which i have done for many projects) and bby default it sets up a none sudo user (forge) in addition to the root user. Everything goes good until i try to run
npm -g install prisma
, somehow the system does not permit my user to create a new directory under /home/forge/.cache/ which is not true, cause when i run a simple command with the same user
mkdir /home/forge/.cache/prisma
the directory is created successfully. I have tried various solutions as in running it with sudo, deleting the .config directory so the system will produce it on runtime, calling an older version of prisma…… I have even gone to creating a new clean droplet and trying to set it up. and no luck!! If anyone can help i would be grateful, Thanks!!
I am using node v8.11.2 and Docker version 18.05.0-ce
n
1. are you referring to a specific tutorial that we could update now? 2. you don't have to install it globally, you can also install it locally as a dev dep
npm install prisma -D