- node version: 5.0.0
- OS: Mac
$ brew install graphicsmagick
project-root$ npm install
credential setup:
-
follow https://cloud.google.com/vision/docs/common/auth to get xxxx.json as credential
-
in .envrc, change the xxx.json file name to your newly generated credential json
$ source .envrc
project-root$ node server.js
error: google api complain: first parameter should either be a string or a buffer, with the auth session.
solution: check internet connection.