Skip to content
This repository has been archived by the owner on May 15, 2019. It is now read-only.

ERROR: Error: Cannot find module '../encodings' #285

Open
Joe-Stoker opened this issue Oct 25, 2018 · 0 comments
Open

ERROR: Error: Cannot find module '../encodings' #285

Joe-Stoker opened this issue Oct 25, 2018 · 0 comments

Comments

@Joe-Stoker
Copy link

Joe-Stoker commented Oct 25, 2018

I was following the helloWorld tutorial found here: https://github.com/GoogleCloudPlatform/cloud-functions-emulator

At this step functions deploy helloWorld --trigger-http, I get the following error:

functions deploy helloWorld --trigger-http
ERROR: Error: Cannot find module '../encodings'
at RequestError.Error (native)
at new RequestError (/home/joe/.nvm/versions/node/v6.14.4/lib/node_modules/@google-cloud/functions-emulator/node_modules/googleapis/node_modules/google-auth-library/lib/transporters.js:34:42)
at Request._callback (/home/joe/.nvm/versions/node/v6.14.4/lib/node_modules/@google-cloud/functions-emulator/node_modules/googleapis/node_modules/google-auth-library/lib/transporters.js:108:23)
at Request.self.callback (/home/joe/.nvm/versions/node/v6.14.4/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. (/home/joe/.nvm/versions/node/v6.14.4/lib/node_modules/@google-cloud/functions-emulator/node_modules/request/request.js:1161:10)
at emitOne (events.js:96:13)
at Request.emit (events.js:188:7)
at IncomingMessage. (/home/joe/.nvm/versions/node/v6.14.4/lib/node_modules/@google-cloud/functions-emulator/node_modules/request/request.js:1083:12)

node -v: v6.14.4
npm -v: 3.10.10
Using Ubuntu 18.04.1 LTS
@google-cloud/[email protected]

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant