{"action":"closed","issue":{"url":"https://api.github.com/repos/tessel/t2-cli/issues/645","repository_url":"https://api.github.com/repos/tessel/t2-cli","labels_url":"https://api.github.com/repos/tessel/t2-cli/issues/645/labels{/name}","comments_url":"https://api.github.com/repos/tessel/t2-cli/issues/645/comments","events_url":"https://api.github.com/repos/tessel/t2-cli/issues/645/events","html_url":"https://github.com/tessel/t2-cli/issues/645","id":147063150,"number":645,"title":"unable to use Google Cloud gcloud library","user":{"login":"ptone","id":40845,"avatar_url":"https://avatars.githubusercontent.com/u/40845?v=3","gravatar_id":"","url":"https://api.github.com/users/ptone","html_url":"https://github.com/ptone","followers_url":"https://api.github.com/users/ptone/followers","following_url":"https://api.github.com/users/ptone/following{/other_user}","gists_url":"https://api.github.com/users/ptone/gists{/gist_id}","starred_url":"https://api.github.com/users/ptone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ptone/subscriptions","organizations_url":"https://api.github.com/users/ptone/orgs","repos_url":"https://api.github.com/users/ptone/repos","events_url":"https://api.github.com/users/ptone/events{/privacy}","received_events_url":"https://api.github.com/users/ptone/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-04-08T23:26:04Z","updated_at":"2016-04-18T23:09:30Z","closed_at":"2016-04-18T23:09:30Z","body":"This is using https://github.com/GoogleCloudPlatform/gcloud-node\r\n\r\n\r\n\r\n\r\n`googcloud$ t2 run index.js \r\nINFO Looking for your Tessel...\r\nINFO Connected to ptone-t.\r\nINFO Building project.\r\nWARN Pre-compiled module is missing: grpc.\r\nThis might be caused by any of the following:\r\n\r\n1. The binary is platform specific and cannot be compiled for OpenWRT.\r\n2. A pre-compiled binary has not yet been generated for this module.\r\n3. The binary didn't compile correctly for the platform that you're developing on.\r\n    It's possible that the binary is Linux-only or even OpenWRT specific,\r\n    try npm installing with \"--force\" and rerun your deployment command.\r\n\r\nPlease file an issue at https://github.com/tessel/t2-cli/issues/new\r\nWARN Pre-compiled module is missing: sse4_crc32.\r\nThis might be caused by any of the following:\r\n\r\n1. The binary is platform specific and cannot be compiled for OpenWRT.\r\n2. A pre-compiled binary has not yet been generated for this module.\r\n3. The binary didn't compile correctly for the platform that you're developing on.\r\n    It's possible that the binary is Linux-only or even OpenWRT specific,\r\n    try npm installing with \"--force\" and rerun your deployment command.\r\n\r\nPlease file an issue at https://github.com/tessel/t2-cli/issues/new\r\nINFO Writing project to RAM on ptone-t (2469.888 kB)...\r\nINFO Deployed.\r\nINFO Running index.js...\r\nmodule.js:339\r\n    throw err;\r\n    ^\r\n\r\nError: Cannot find module './aes'\r\n    at Function.Module._resolveFilename (module.js:337:15)\r\n    at Function.Module._load (module.js:287:25)\r\n    at Module.require (module.js:366:17)\r\n    at require (module.js:385:17)\r\n    at /tmp/remote-script/node_modules/node-forge/js/forge.js:1:358\r\n    at Array.map (native)\r\n    at Module.e.exports (/tmp/remote-script/node_modules/node-forge/js/forge.js:1:335)\r\n    at i (/tmp/remote-script/node_modules/node-forge/js/forge.js:1:515)\r\n    at /tmp/remote-script/node_modules/node-forge/js/forge.js:1:1060\r\n    at define (/tmp/remote-script/node_modules/node-forge/js/forge.js:1:268)`\r\n\r\nWith a simple test app of: \r\n\r\n`\r\nvar gcloud = require('gcloud')({\r\nprojectId: 'neon-chimera-121918',\r\nkeyFilename: 'cloud-key.json'\r\n});\r\n\r\nvar gcs = gcloud.storage();\r\n\r\ngcs.getBuckets()\r\n.on('error', console.error)\r\n.on('data', function(bucket) {\r\nconsole.log(bucket);\r\n})\r\n.on('end', function() {\r\n// All buckets retrieved.\r\n});\r\n`"}}