core
core copied to clipboard
[BUG] cli-engine 下载不了,提示 invalid
trafficstars
描述你的问题(Describe the bug) 插件开发时,无法安装 engine, 提示版本 invalid
复现路径(To Reproduce)
执行命令 sumi engine add 2.27.2
提示:
No engine installed
Please exec `sumi engine add <version>`
✖ @opensumi/[email protected] is invalid
(node:32477) Warning: Closing file descriptor 24 on garbage collection
(Use `node --trace-warnings ...` to show where the warning was created)
(node:32477) [DEP0137] DeprecationWarning: Closing a FileHandle object on garbage collection is deprecated. Please close FileHandle objects explicitly using FileHandle.prototype.close(). In the future, an error will be thrown if a file descriptor is closed during garbage collection.
This version 2.27.2 has not been installed locally
? Download @opensumi/[email protected] now? Yes
✖ @opensumi/[email protected] is invalid
Set v2.27.2 as the current engine
预期表现(Expected behavior) 可以正常下载
环境信息(Environment)
- OS: [e.g. macOS 11.7 Intel]
- OpenSumi Version: [e.g. 2.27.2]