janpaul123 / paperprograms

Run Javascript on pieces of paper!
https://paperprograms.org
MIT License
502 stars 54 forks source link

createdb: could not connect to database template1 #79

Closed locua closed 5 years ago

locua commented 5 years ago

When trying to run locally I'm getting this error when running npm run dev:

createdb: could not connect to database template1: FATAL: role "<username>" does not exist username is my username

I've seen some postgresql errors online talking about using the postgres user. Is this necessary?

Running on Ubuntu

node --version v13.3.0 npm --version 6.13.2

Thanks

locua commented 5 years ago

my bad, didn't read the instructions thoroughly