javascript - XMLHttpRequest cannot load file:///myfilepath/www/aws-sdk?=xxxxxxxxxx -


i rather new phonegap. trying build simple app javascript,html , jquery. unable connect server after appropriate objects created.

 var s3 = new aws.s3({accesskeyid: accesskey , secretaccesskey: secretkey});   //listing buckets console  s3.listbuckets(function(error, data) {                  if (err) {           navigator.notification.alert(err);      }      else {          (var index in data.buckets) {              var bucket = data.buckets[index];              console.log("bucket: ", bucket.name, ' : ', bucket.creationdate);          }     } 

});


Comments

Popular posts from this blog

javascript - oscilloscope of speaker input stops rendering after a few seconds -

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -