点击此处---> 群内免费提供SAP练习系统(在群公告中)加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)您好,专家,我正在尝试遵循本教程...
点击此处---> 群内免费提供SAP练习系统(在群公告中)加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)您好,专家,我正在尝试遵循本教程...
加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)
您好,专家,我正在尝试遵循本教程。
https://developers.sap.com/tutorials/xsa-xsjs-xsodata.html#
要在XSA应用程序中创建Node.js模块。
在第6步中,我需要运行index.html模块,但出现以下错误:
/25/19 9:24:47.725 PM [APP/10-0]错误 19/9/25 9:24:47.727 PM [APP/10-0]错误/hana/shared/HXE/xs/controller_data/executionagent/executionroot/93746b4c-66d3-464a-b4f7-389adb00d60a/app/node_modules/@ sap /approuter/lib/utils/JsonValidator.js:30 19/9/25 9:24:47.727 PM [APP/10-0]错误抛出新的VError('%s%s:%s', 19/9/25/9:24:47.727 PM [APP/10-0]错误^ 9/25/19 9:24:47.727 PM [APP/10-0]错误VError:xs-app.json/authenticationMethod:No 枚举匹配:"路线" 19/9/25 9:24:47.727 PM [APP/10-0] JsonValidator.validate的错误(/hana/shared/HXE/xs/controller_data/executionagent/executionroot/93746b4c-66d3-464a-b4f7-389adb00d60a/app /node_modules/@sap/approuter/lib/utils/JsonValidator.js:30:11) 19/9/25 9:24:47.727 PM [APP/10-0] Object.validateXsApp(/hana/shared/HXE/xs/controller_data/executionagent/executionroot/93746b4c-66d3-464a-b4f7-389adb00d60a/app的错误/node_modules/@sap/approuter/lib/configuration/validators.js:128:15) 19/9/25 9:24:47.727 PM [APP/10-0] ERR.Object.exports.loadConfiguration(/hana/shared/HXE/xs/controller_data/executionagent/executionroot/93746b4c-66d3-464a-b4f7-389adb00d60a /app/node_modules/@sap/approuter/lib/configuration/app-config.js:21:14) 19/9/25 9:24:47.727 PM [APP/10-0]在Object.module.exports.load(/hana/shared/HXE/xs/controller_data/executionagent/executionroot/93746b4c-66d3-464a-b4f7 -389adb00d60a/app/node_modules/@sap/approuter/lib/configuration.js:19:34) 19/9/25 9:24:47.727 PM [APP/10-0]引导时出现错误(/hana/shared/HXE/xs/controller_data/executionagent/executionroot/93746b4c-66d3-464a-b4f7-389adb00d60a/app/node_modules /@sap/approuter/lib/bootstrap.js:52:36) 19/9/25 9:24:47.727 PM [APP/10-0] Approuter.start上的错误(/hana/shared/HXE/xs/controller_data/executionagent/executionroot/93746b4c-66d3-464a-b4f7-389adb00d60a/app /node_modules/@sap/approuter/approuter.js:67:13) 19/9/25 9:24:47.727 PM [APP/10-0]对象处的ERR。<匿名>(/hana/shared/HXE/xs/controller_data/executionagent/executionroot/93746b4c-66d3-464a-b4f7-389adb00d60a /app/node_modules/@sap/approuter/approuter.js:144:6) 19/9/25/9:24:47.727 PM [APP/10-0]模块._compile的错误(module.js:653:30)9/25/19 9:24:47.727 PM [APP/10-0] Object.Module._extensions..js的ERR(module.js:664:10) 19/9/25 9:24:47.727 PM [APP/10-0]模块加载时出现错误(module.js:566:32)
有人可以帮我吗,我是这项技术的初学者。
谢谢,
Sebastiano
如日志所述:在您的xs-app.json文件中," routes"值不是属性" authenticationMethod"的有效值。 它需要设置为"路线"。
一周热门 更多>