You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I cloned the repo, and ran npm install
When I access localhost:4000 I get the following error: error: password authentication failed for user "notesadmin"
The text was updated successfully, but these errors were encountered:
I had the same error but then i setup db and worked.
I had a problem setting up postgresql db but i fixed it and managed to start the app.
My setup went like this:
Step 1. Create the Database
psql postgres
DROP TABLE IF EXISTS notes;
CREATE TABLE notes (
id SERIAL PRIMARY KEY,
created_at TIMESTAMP NOT NULL,
updated_at TIMESTAMP NOT NULL,
title TEXT,
body TEXT
);
\q
Step 3. Run the seed script
Finally, run npm run seed to populate some data.
npm start
Hope this save someone's time.
I cloned the repo, and ran npm install
When I access localhost:4000 I get the following error:
error: password authentication failed for user "notesadmin"
The text was updated successfully, but these errors were encountered: