Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Jameshu229 opened this issue Mar 15, 2016 · 9 comments
Open

Comments

@Jameshu229
Copy link

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

@rockuw
Copy link
Owner

rockuw commented Mar 15, 2016

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

@rockuw
Copy link
Owner

rockuw commented Mar 15, 2016

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

@cloud-zhao
Copy link

#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

@rockuw
Copy link
Owner

rockuw commented Mar 29, 2016

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

@lupengfeige
Copy link

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

@lupengfeige
Copy link

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

@rockuw
Copy link
Owner

rockuw commented Apr 28, 2016

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

@lupengfeige
Copy link

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
Copy link

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

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

No branches or pull requests

4 participants