node-sts-app-server icon indicating copy to clipboard operation
node-sts-app-server copied to clipboard

"InvalidParameter.RoleArn: The parameter RoleArn is wrongly formed."

Open Jameshu229 opened this issue 8 years ago • 9 comments

你好,请问RoleArn是什么?怎么填写?

Jameshu229 avatar Mar 15 '16 02:03 Jameshu229

在阿里云的官网控制台中:“访问控制” -> “角色管理” -> “角色详情”

rockuw avatar Mar 15 '16 03:03 rockuw

或者参考这个:https://help.aliyun.com/document_detail/oss/practice/ram_guide_dir/no_user_accout.html

rockuw avatar Mar 15 '16 03:03 rockuw

#node index.js /node-sts-app-server-master/index.js:19 co(function* () { ^ SyntaxError: Unexpected token * at exports.runInThisContext (vm.js:73:16) at Module._compile (module.js:443:25) at Object.Module._extensions..js (module.js:478:10) at Module.load (module.js:355:32) at Function.Module._load (module.js:310:12) at Function.Module.runMain (module.js:501:10) at startup (node.js:129:16) at node.js:814:3

cloud-zhao avatar Mar 29 '16 05:03 cloud-zhao

@cloud-zhao 你的node.js版本太低了,请使用4.x/5.x版本。

rockuw avatar Mar 29 '16 05:03 rockuw

你好,A simple app server using STS,这个demo我怎么启动不了

lupengfeige avatar Apr 28 '16 06:04 lupengfeige

npm WARN enoent ENOENT: no such file or directory, open 'C:\。。。\package .json'

lupengfeige avatar Apr 28 '16 06:04 lupengfeige

git clone https://github.com/rockuw/node-sts-app-server.git
cd node-sts-app-server
npm install
node index.js

rockuw avatar Apr 28 '16 06:04 rockuw

XMLHttpRequest cannot load http://localhost:3000/. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.

lupengfeige avatar Apr 28 '16 07:04 lupengfeige

var appServer = 'http://localhost:3000'; var bucket = 'js-sdk-bucket-sts'; var region = 'oss-cn-hangzhou';

lupengfeige avatar Apr 28 '16 07:04 lupengfeige