Skip to content

Errors in the process

Vic Shóstak edited this page May 2, 2021 · 14 revisions

In creating the project

If you selected any frontend framework or library in the second step of the cgapp create command, but the ./frontend folder is empty, then you have an older version of Node.js with version npm 6.x or lower installed.

Correct creation of the frontend part of the project is only possible if you have Node.js version 12.x (or higher) and npm version 7.x (or higher).

Just install a newer version of Node.js or update npm manually:

npm install -g npm@latest

Or you can use our pre-built isolated Docker container with pre-installed dependencies to leave your system untouched. To do so, run this command (you must have Docker 19.x or higher installed):

docker run --rm -it -v ${PWD}:${PWD} -w ${PWD} koddr/cgapp:latest [COMMAND]

In deploying the project

If you get error Permission denied (publickey) at the beginning, just add your private key (which you previously created and specified when creating the droplet) to the ssh-agent in your computer with the following command:

ssh-add -K ~/.ssh/id_rsa
Clone this wiki locally