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

Error in command npm start #1

Open
ruchikam opened this issue Jul 3, 2018 · 2 comments
Open

Error in command npm start #1

ruchikam opened this issue Jul 3, 2018 · 2 comments

Comments

@ruchikam
Copy link

ruchikam commented Jul 3, 2018

url.js:103
throw new TypeError('Parameter "url" must be a string, not ' + typeof url);
^

TypeError: Parameter "url" must be a string, not undefined
at Url.parse (url.js:103:11)
at Object.urlParse [as parse] (url.js:97:13)
at Object. (/home/ajay/Desktop/knextancy-example-master/config/env.js:11:15)
at Module._compile (module.js:652:30)
at loader (/home/ajay/Desktop/knextancy-example-master/node_modules/babel-register/lib/node.js:144:5)
at Object.require.extensions.(anonymous function) [as .js] (/home/ajay/Desktop/knextancy-example-master/node_modules/babel-register/lib/node.js:154:7)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at /home/ajay/Desktop/knextancy-example-master/config/index.js:10:39
at Array.forEach ()
at Object. (/home/ajay/Desktop/knextancy-example-master/config/index.js:9:6)
at Module._compile (module.js:652:30)
at loader (/home/ajay/Desktop/knextancy-example-master/node_modules/babel-register/lib/node.js:144:5)
at Object.require.extensions.(anonymous function) [as .js] (/home/ajay/Desktop/knextancy-example-master/node_modules/babel-register/lib/node.js:154:7)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: node ./bin/service.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.

@krolow
Copy link

krolow commented Jul 3, 2018

@ruchikam
Copy link
Author

ruchikam commented Jul 4, 2018

db: &DB
image: postgres:9.4.4
ports:
- 5432
environment:
POSTGRES_USER: ctrmdvdfcrqljj
POSTGRES_PASSWORD: db35345e3d63d318e372f360000fcf82669d465451c671550af4dbc0c88a1086
POSTGRES_DB: d2pjluiq7l61ha

I had updated this in docker-compose.yml file

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