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

Trailing comma causes issues while configuring environment. #17

Open
suthagar23 opened this issue Nov 10, 2020 · 0 comments
Open

Trailing comma causes issues while configuring environment. #17

suthagar23 opened this issue Nov 10, 2020 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@suthagar23
Copy link
Member

{
  "SERVER_NAME": "server-{{ENV}}",
  "DB_CONNECTION_DB_NAME": "postgres",
}

Here, this last trailing comma caused this following issue,

[envone][DEBUG] Error : SyntaxError: Unexpected token } in JSON at position 146
{
  error: SyntaxError: Unexpected token } in JSON at position 146
      at JSON.parse (<anonymous>)
@suthagar23 suthagar23 added bug Something isn't working good first issue Good for newcomers labels Nov 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant