当我启动phoenix服务器时,我收到以下错误
** (Mix) Could not start application hndl: exited in: Hndl.Application.start(:normal, [])
** (EXIT) an exception was raised:
** (RuntimeError) GOOGLE_APPLICATION_CREDENTIALS not set
(hndl 0.2.10) lib/hndl/application.ex:49: Hndl.Application.validate_required_config/0
(hndl 0.2.10) lib/hndl/application.ex:12: Hndl.Application.start/2
(kernel 9.2.3) application_master.erl:293: :application_master.start_it_old/4
我正在通过以下命令设置谷歌凭据
export GOOGLE_APPLICATION_CREDENTIALS="/Users/.../google-credentials.json"
当我通过以下命令检查时
echo $GOOGLE_APPLICATION_CREDENTIALS
它给了我正确的道路。 但我在启动服务器时仍然遇到错误。是什么导致了这个问题?