spectacles icon indicating copy to clipboard operation
spectacles copied to clipboard

Testing Spectacles connection to Looker outside of `spectacles` folder

Open viki-sharon opened this issue 2 years ago • 3 comments

Per https://docs.spectacles.dev/cli/tutorials/getting-started/, when I try to run my connection test outside of the spectacles folder, even if I point to the config file correctly, I can't. I need to be in the directory in order to run the command. I guess that's implicit in the documentation, but it would be good to make it crystal clear.

Screenshot 2023-05-09 at 3 23 57 PM

viki-sharon avatar May 09 '23 07:05 viki-sharon

Hey @viki-sharon! You shouldn't have to be in the spectacles directory to find the config file. Have you checked the API key in the config file for correctness? Do you have environment variables defined anywhere (like in your .bashrc/.zshrc) that could be overriding?

joshtemple avatar May 09 '23 14:05 joshtemple

Checking! let me come back to you. I use zsh for shell and omz as well. cc @sharonwoo

viki-sharon avatar May 18 '23 14:05 viki-sharon

Hey @viki-sharon. Wanted to see if this was still an issue?

DylanBaker avatar Jul 17 '23 15:07 DylanBaker