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

getting the below error after npm start #460

Open
sunil0047 opened this issue Feb 2, 2019 · 1 comment
Open

getting the below error after npm start #460

sunil0047 opened this issue Feb 2, 2019 · 1 comment

Comments

@sunil0047
Copy link

C:\Users\git project\express-mongoose-es6-rest-api\config\config.js:30
throw new Error(Config validation error: ${error.message});
^

Error: Config validation error: child "JWT_SECRET" fails because ["JWT_SECRET" is required]

@gfpalacios
Copy link

take a look at your .env.example and create a copy of that file as ".env". Then, create a db in your mongo as "express-mongoose-es6-rest-api-development" and restart the server.

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