cloud-functions-emulator icon indicating copy to clipboard operation
cloud-functions-emulator copied to clipboard

OSX simple install config issue

Open websocketdev opened this issue 7 years ago • 0 comments

installing the emulator on OSX is global, so ultimately requires more permissions so need su to do it. The install goes into /usr. Unfortunately, that dir is not writable when running the emulator as a regular user. The log ends up coming up with an error. It's an easy fix, vi ~/.config/configstore/@google-cloud/functions-emulator/config.json and update log location to a writeable dir by the local non-root osx user.

I think this should be more up front in your doc, it wasn't clear where to find the config file, I found it by doing a re-install and seeing it print out the location of the config file. But how about getting the install to put logs by default in a writeable dir to begin with? Would make the whole install go faster. I know Google cares more about developers than AWS does, so I just wanted to provide that feedback. Keep up the great work, I love Google Cloud much more than AWS because it's so much easier for developers.

websocketdev avatar Jul 31 '18 08:07 websocketdev