我从git中获取了最新的moodlemobile2。
它已成功安装并使用命令npm run setup安装所有依赖项。
加入离子后,它将在chrome浏览器中打开moodle桌面。
穆德勒的标题进展不顺利。而不是登录,而是显示core.login.connecttomoodle。
我在控制台中遇到以下问题:
Failed to load resource: the server responded with a status of 404 (Not Found)
:8100/manifest.json:1 Manifest: Line: 1, column: 1, Unexpected token.
2
util.js:66 Ionic Native: tried calling Network.type, but Cordova is not available. Make sure to a) run in a real device or simulator and b) include cordova.js in your index.html
logger.ts:70 1/24/2019 4:51:13 PM CoreCronDelegate: Execution of handler 'CoreCourseLogCronHandler' failed. null
(anonymous) @ logger.ts:70
以下是我的离子和科尔多瓦细节:
[WARN] The pro_id field in .\ionic.config.json has been deprecated.
Ionic Pro has been renamed to Ionic Appflow! We've copied the value in pro_id to id, but you may want to unset
the deprecated property: ionic config unset pro_id
[WARN] Bad integration name: gulp
Ionic:
ionic (Ionic CLI) : 4.9.0 (C:\Users\prawez.musharraf\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.1.9
Cordova:
cordova (Cordova CLI) : not installed
Cordova Platforms : android 7.1.2, ios 4.5.5
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, (and 20 other plugins)
System:
Android SDK Tools : 26.1.1 (C:\Users\prawez.musharraf\AppData\Local\Android\Sdk)
NodeJS : v10.15.0 (D:\nodejs\node.exe)
npm : 6.7.0
OS : Windows 10
请帮助我解决此问题。