cloudbase-cli
cloudbase-cli copied to clipboard
The cli tool for cloudbase

CloudBase CLI 2.3.11 CloudBase Framework 1.9.7 Weda 0.20.5 (node:2800) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead. (Use `node --trace-deprecation ...` to show where the...
We met a new error when installing the latest npm package, detailed logs: ```bash $ yarn add @cloudbase/[email protected] yarn add v1.22.19 info No lockfile found. [1/4] 🔍 Resolving packages... warning...
 Resources[Begingame].Properties.Runtime=Nodejs16.13 is invalid, tip: oneof Python2.7 Python3.6 Nodejs4.3 Nodejs6.10 Nodejs8.9 nodejs8.9 Nodejs10.15 Nodejs12.16 Php5 Php7 Go1 Java8.
使用体验
好的不说了,TCB给我们带来很多的方便与可能,真是感觉 眼前一亮。 用了一个多月的TCB,针对CLI 和 framework 感觉包很大,装了很多东西,而且装的时间很长,而且有很多警告。。 这个safer-buffer 半天也装不下来, 作为一个nodejs 应用开发者,经常装各种依赖和库,对我们来说包越小越好,越快越好。纯属个人使用感受。 900多秒才装完。
如下命令,上传层,结果上传到了云函数下。云开发无法使用。 ```shell # tcb fn layer create test-sdk --file ./test-sdk -e xxxx CloudBase CLI 2.2.8 CloudBase Framework 1.9.6 ✔ 文件层创建成功! ```
node版本是16.14,npm是8.5 npm安装: ``` npm WARN deprecated [email protected]: The functionality that this package provided is now in @npmcli/arborist npm WARN deprecated [email protected]: This functionality has been moved to @npmcli/fs npm WARN...
`tcb -v` 结果: CloudBase CLI 2.1.6 CloudBase Framework 1.9.6 CLI: 2.1.6 Framework: 1.9.6 运行:`tcb functions:layer:list` 提示:functions:layer:list 不是有效的命令