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

Bug: NODE_ENV=development node index.js error #237

Closed
stonyme opened this issue Dec 29, 2021 · 1 comment
Closed

Bug: NODE_ENV=development node index.js error #237

stonyme opened this issue Dec 29, 2021 · 1 comment
Assignees
Labels
documentation Improvements or additions to documentation feedback needed Needs feedback

Comments

@stonyme
Copy link

stonyme commented Dec 29, 2021

Describe the bug
when I enter
npm install
cd server/
NODE_ENV=development node index.js
the console tell me error,
image
So I add key.pem and cert.pem file,run it again,The console is not responding。I just run it locally,how to run the backend?

Desktop (please complete the following information):

  • OS: MAC
  • Browser:chrome
  • Version node version:v14.17.0
@stonyme stonyme added the bug Something isn't working label Dec 29, 2021
@bra1n
Copy link
Owner

bra1n commented Dec 30, 2021

Hey @stonyme,
as the README for the server describes, you need to create your own (localhost) certificate files. For example, you could follow this Stackoverflow answer.

@bra1n bra1n assigned stonyme and unassigned bra1n Dec 30, 2021
@bra1n bra1n added documentation Improvements or additions to documentation feedback needed Needs feedback and removed bug Something isn't working labels Dec 30, 2021
@bra1n bra1n closed this as completed Jan 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation feedback needed Needs feedback
Projects
None yet
Development

No branches or pull requests

2 participants