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并取得进一步的成功。我做错什么了还是文档/工具不正确?
发布于 2020-12-02 08:58:30
可能会有误会。
ui5 init从工具将只创建ui5.yaml所需的使用ui5 serve以后预览您的(现有)应用,它将而不是生成一个应用程序。
如果你开始你的UI5应用程序与UI5模板之一,并使它适应你的需要,这将是很好的。
https://stackoverflow.com/questions/64952842
复制相似问题