Skip to content

When serving locally, cannot get /username #143

Locked Answered by lowlighter
Milo123459 asked this question in Q&A
Discussion options

You must be logged in to vote

Ensure that:

  • you renamed settings.example.json to settings.json and it's located in metrics root directory
  • you specified a valid GitHub token and set debug to true
  • after running npm start, your settings.json should be printed in whole along with the following messages:
metrics/setup > setup
metrics/setup > load settings.json
metrics/setup > load settings.json > success

It it's printing this instead:

metrics/setup > load settings.json > (missing)

Then you're running in no settings mode (i.e. same env as for GitHub action) and your server cannot work, even if it starts.

See this section for more infos 👍

Replies: 8 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Milo123459
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants
Converted from issue

This discussion was converted from issue #106 on February 18, 2021 11:51.