We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
官方文档: https://api.aliyun.com/api-tools/sdk/sae?version=2019-05-06&language=typescript-tea&tab=primer-doc
复现用例: package.json:
{ "name": "example", "version": "1.0.0", "description": "", "type": "module", "main": "main.js", "scripts": { }, "private": true, "dependencies": { "@alicloud/openapi-client": "^0.4.12", "@alicloud/sae20190506": "^1.25.5" } }
main.js:
import Client, { DeployApplicationRequest } from "@alicloud/sae20190506"; import { Config } from "@alicloud/openapi-client"; (async () => { let config = new Config(); config.regionId = process.env.SAE_APP_REGION; config.accessKeyId = process.env.SAE_ACCESS_KEY_ID; config.accessKeySecret = process.env.SAE_ACCESS_KEY_SECRET; let client = new Client(config); })();
运行 node main.js 就会报错, 提示 Client is not a constructor
node main.js
The text was updated successfully, but these errors were encountered:
No branches or pull requests
官方文档: https://api.aliyun.com/api-tools/sdk/sae?version=2019-05-06&language=typescript-tea&tab=primer-doc
复现用例:
package.json:
main.js:
运行
node main.js
就会报错, 提示 Client is not a constructorThe text was updated successfully, but these errors were encountered: