新项目的 ui5 初始化失败

ui5 init for new project fails

ui5 init --verbose
verb cli:middlewares:base using @ui5/cli version 2.6.4 (from /X/.npm-global/lib/node_modules/@ui5/cli/bin/ui5.js)
verb cli:middlewares:base using node version v14.15.1

⚠️  Process Failed With Error

Error Message:
Could not detect project type: Could not find 'webapp' or 'src' / 'test' folders.
Applications should only have a 'webapp' folder.
Libraries should only have a 'src' and (optional) 'test' folder.

Stack Trace:
Error: Could not detect project type: Could not find 'webapp' or 'src' / 'test' folders.
Applications should only have a 'webapp' folder.
Libraries should only have a 'src' and (optional) 'test' folder.
    at getProjectType (/X/.npm-global/lib/node_modules/@ui5/cli/lib/init/init.js:54:9)
    at Object.init (/X/.npm-global/lib/node_modules/@ui5/cli/lib/init/init.js:92:23)
    at async Object.initCommand.handler (/X/.npm-global/lib/node_modules/@ui5/cli/lib/cli/commands/init.js:22:24)

我所要做的就是首先 mkdir webapp 并继续成功。我是做错了什么还是 documentation/tool 不正确?

可能有误会

来自工具的

ui5 init 只会创建稍后使用 ui5 serve 预览您的(现有)应用程序所需的 ui5.yaml,它将 不会 生成一个应用程序。

如果您的 UI5 应用程序以 UI5 Templates 和 根据您的需要进行调整。