Skip to content

Database connection error when running "npm run dev" #54

@yudhk

Description

@yudhk

so everything was fine until the database connection I'am using postgresql 11.2 os : debian 9 is there any file that I have to change?

[05:27:36] Finished 'launchBrowserSync' after 247 ms
[05:27:36] Starting 'watchFiles'...
[05:27:36] Finished 'watchFiles' after 44 ms
[05:27:36] Finished 'dev' after 16 s
[IMAGES] config.images.cache true
[EMAIL] transport mailing – SUCCESS
[REDIS] connection – SUCCESS
[DATABASE] connection – ERROR
[SERVER] gracefully closing server…
waiting 1 to close
issue at server init Error: [DATABASE] connection – ERROR
at config.setup.then (/home/yudha/builder/server/index.js:630:30)
at
[SERVER] exiting process
[05:27:38] [nodemon] clean exit - waiting for changes before restart
DATABASE] connection – ERROR

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions