Trying to setup the project for the first time and i keep getting this error when i run bin/setup.
Any help will be greatly appreciated thanks. @zhao-andy
Hmm, do you have your environment variables set up properly, with the correct syntax? Your application.yml should look like this:
application.yml
SOME_KEY: "some_value_for_api_key" SOME_KEY: "some_value_for_api_key" SOME_KEY: "some_value_for_api_key" SOME_KEY: "some_value_for_api_key"
Make sure you're using double quotes for the values, and that your keys have no quotes. There should also only be a colon and space in between the two.
Thanks that worked
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Trying to setup the project for the first time and i keep getting this error when i run bin/setup.
Any help will be greatly appreciated thanks.
@zhao-andy
Hmm, do you have your environment variables set up properly, with the correct syntax? Your
application.yml
should look like this:Make sure you're using double quotes for the values, and that your keys have no quotes. There should also only be a colon and space in between the two.
Thanks that worked