Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installation #12

Open
cichy opened this issue Mar 22, 2017 · 1 comment
Open

installation #12

cichy opened this issue Mar 22, 2017 · 1 comment

Comments

@cichy
Copy link

cichy commented Mar 22, 2017

Tried to install and see errors
`> [email protected] start /Users/admin/Git/reddice

nodemon --watch server --exec babel-node -- server/index.js

[nodemon] 1.11.0
[nodemon] to restart at any time, enter rs
[nodemon] watching: /Users/admin/Git/reddice/server/**/*
[nodemon] starting babel-node server/index.js
Running on localhost:3000
Knex:Error Pool2 - Error: connect ECONNREFUSED 127.0.0.1:5432
Knex:Error Pool2 - Error: connect ECONNREFUSED 127.0.0.1:5432
webpack built 549ce7770cb1db2dac62 in 4571ms

Unhandled rejection Error: Pool is destroyed
at Pool.acquire (/Users/admin/Git/reddice/node_modules/pool2/lib/pool.js:162:12)
at /Users/admin/Git/reddice/node_modules/knex/src/client.js:212:29
at Promise._execute (/Users/admin/Git/reddice/node_modules/bluebird/js/release/debuggability.js:300:9)
at Promise._resolveFromExecutor (/Users/admin/Git/reddice/node_modules/bluebird/js/release/promise.js:483:18)
at new Promise (/Users/admin/Git/reddice/node_modules/bluebird/js/release/promise.js:79:10)
at Client.acquireConnection (/Users/admin/Git/reddice/node_modules/knex/src/client.js:208:23)
at /Users/admin/Git/reddice/node_modules/knex/src/runner.js:188:49
at Promise._execute (/Users/admin/Git/reddice/node_modules/bluebird/js/release/debuggability.js:300:9)
at Promise._resolveFromExecutor (/Users/admin/Git/reddice/node_modules/bluebird/js/release/promise.js:483:18)
at new Promise (/Users/admin/Git/reddice/node_modules/bluebird/js/release/promise.js:79:10)
at /Users/admin/Git/reddice/node_modules/knex/src/runner.js:187:35
at tryCatcher (/Users/admin/Git/reddice/node_modules/bluebird/js/release/util.js:16:23)
at Function.Promise.attempt.Promise.try (/Users/admin/Git/reddice/node_modules/bluebird/js/release/method.js:39:29)
at Runner.ensureConnection (/Users/admin/Git/reddice/node_modules/knex/src/runner.js:186:23)
at Runner.run (/Users/admin/Git/reddice/node_modules/knex/src/runner.js:27:31)
at QueryBuilder.Target.then (/Users/admin/Git/reddice/node_modules/knex/src/interface.js:22:45)

Unhandled rejection Error: Pool is destroyed
at Pool.acquire (/Users/admin/Git/reddice/node_modules/pool2/lib/pool.js:162:12)
at /Users/admin/Git/reddice/node_modules/knex/src/client.js:212:29
at Promise._execute (/Users/admin/Git/reddice/node_modules/bluebird/js/release/debuggability.js:300:9)
at Promise._resolveFromExecutor (/Users/admin/Git/reddice/node_modules/bluebird/js/release/promise.js:483:18)
at new Promise (/Users/admin/Git/reddice/node_modules/bluebird/js/release/promise.js:79:10)
at Client.acquireConnection (/Users/admin/Git/reddice/node_modules/knex/src/client.js:208:23)
at /Users/admin/Git/reddice/node_modules/knex/src/runner.js:188:49
at Promise._execute (/Users/admin/Git/reddice/node_modules/bluebird/js/release/debuggability.js:300:9)
at Promise._resolveFromExecutor (/Users/admin/Git/reddice/node_modules/bluebird/js/release/promise.js:483:18)
at new Promise (/Users/admin/Git/reddice/node_modules/bluebird/js/release/promise.js:79:10)
at /Users/admin/Git/reddice/node_modules/knex/src/runner.js:187:35
at tryCatcher (/Users/admin/Git/reddice/node_modules/bluebird/js/release/util.js:16:23)
at Function.Promise.attempt.Promise.try (/Users/admin/Git/reddice/node_modules/bluebird/js/release/method.js:39:29)
at Runner.ensureConnection (/Users/admin/Git/reddice/node_modules/knex/src/runner.js:186:23)
at Runner.run (/Users/admin/Git/reddice/node_modules/knex/src/runner.js:27:31)
at QueryBuilder.Target.then (/Users/admin/Git/reddice/node_modules/knex/src/interface.js:22:45)

Unhandled rejection Error: Pool is destroyed
at Pool.acquire (/Users/admin/Git/reddice/node_modules/pool2/lib/pool.js:162:12)
at /Users/admin/Git/reddice/node_modules/knex/src/client.js:212:29
at Promise._execute (/Users/admin/Git/reddice/node_modules/bluebird/js/release/debuggability.js:300:9)
at Promise._resolveFromExecutor (/Users/admin/Git/reddice/node_modules/bluebird/js/release/promise.js:483:18)
at new Promise (/Users/admin/Git/reddice/node_modules/bluebird/js/release/promise.js:79:10)
at Client.acquireConnection (/Users/admin/Git/reddice/node_modules/knex/src/client.js:208:23)
at /Users/admin/Git/reddice/node_modules/knex/src/runner.js:188:49
at Promise._execute (/Users/admin/Git/reddice/node_modules/bluebird/js/release/debuggability.js:300:9)
at Promise._resolveFromExecutor (/Users/admin/Git/reddice/node_modules/bluebird/js/release/promise.js:483:18)
at new Promise (/Users/admin/Git/reddice/node_modules/bluebird/js/release/promise.js:79:10)
at /Users/admin/Git/reddice/node_modules/knex/src/runner.js:187:35
at tryCatcher (/Users/admin/Git/reddice/node_modules/bluebird/js/release/util.js:16:23)
at Function.Promise.attempt.Promise.try (/Users/admin/Git/reddice/node_modules/bluebird/js/release/method.js:39:29)
at Runner.ensureConnection (/Users/admin/Git/reddice/node_modules/knex/src/runner.js:186:23)
at Runner.run (/Users/admin/Git/reddice/node_modules/knex/src/runner.js:27:31)
at QueryBuilder.Target.then (/Users/admin/Git/reddice/node_modules/knex/src/interface.js:22:45)

`

@iqbalsafian
Copy link

it was coming from knex, i bet that you didn't have the postgres dbase created, didn't you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants