#db error: ERROR: permission denied to create database

1 messages · Page 1 of 1 (latest)

fathom plaza
#

Hi everybody. I installed Amplication locally, everything is fine, the only error is when running the command

wide sonnet
spice geyser
#

Firstly follow the countributing guide line from COUNTRIBUTING.md file and also follow below steps accordingly

Please check (and write here) the versions of your node (node -v) and npm (npm -v)
I am using Node 18.3.0 and npm 8.11.0 and it works for me.
Another option is to check the typescript version (ts-node -v) - I as using 10.9.1

If you have the right npm and node versions, I suggest you delete the node_modules folder and run npm install again and try again. A "stronger" step is to completely delete the folder and clone again from GitHub and then run npm install (only if you have the right npm and node versions first).

Note that sometimes the terminal in vs.code has a different node version attached so you should make sure that the terminal you are using has the right node version.