Open dfit opened 6 years ago
I have a similar problem. I use shadowsocks proxy to access google cloud functions. But my proxy works well when I use other google apis, e.g. text-to-speech, speech.
Environment:
error infomation
$ functions-emulator start
Starting Google Cloud Functions Emulator... Google Cloud Functions Emulator STARTED ERROR: Error:
Privoxy encountered an error while processing your request:
Could not load template file no-server-data
or one of its included components.
Please contact your proxy administrator.
If you are the proxy administrator, please put the required file(s)in the (confdir)/templates
directory. The location of the (confdir)
directory is specified in the main Privoxy config
file. (It's typically the Privoxy install directory, or /etc/privoxy/
).
at RequestError.Error (native)
at new RequestError (/Users/wukong/.nvm/versions/node/v6.11.5/lib/node_modules/@google-cloud/functions-emulator/node_modules/googleapis/node_modules/google-auth-library/lib/transporters.js:34:42)
at Request._callback (/Users/wukong/.nvm/versions/node/v6.11.5/lib/node_modules/@google-cloud/functions-emulator/node_modules/googleapis/node_modules/google-auth-library/lib/transporters.js:108:23)
at Request.self.callback (/Users/wukong/.nvm/versions/node/v6.11.5/lib/node_modules/@google-cloud/functions-emulator/node_modules/request/request.js:185:22)
at emitTwo (events.js:106:13)
at Request.emit (events.js:191:7)
at Request.<anonymous> (/Users/wukong/.nvm/versions/node/v6.11.5/lib/node_modules/@google-cloud/functions-emulator/node_modules/request/request.js:1157:10)
at emitOne (events.js:96:13)
at Request.emit (events.js:188:7)
at IncomingMessage.<anonymous> (/Users/wukong/.nvm/versions/node/v6.11.5/lib/node_modules/@google-cloud/functions-emulator/node_modules/request/request.js:1079:12)
I'm currently setting up my work environment for testing google cloud platform on a company project.
By far, I succeed to deploy functions on the g cloud platform and using them in prod condition. I wanted to have the local emulator working on my computer also, so I tried to install it with this tutorial
But I encounter a problem right after wanted to start the emulator with "functions start" :
I already tried by setting proxy on node config level and on system level.
Tried by reinstalling completely node on my computer but didn't figure out what I was missing.
(just to know i'm on windows)
Thanks in advance for any kind of information.
Environment details