2017-01-25 3 views
0

は、私がコンソールに次のエラーが見つかりました:manifest.jsonをファイルでエラー: 'NO記述子は見つからなかったが、フィオーリ・ランチパッド上で自分のアプリケーションをデプロイ

Error in application dependency 'sap.ui.core': 'No descriptor was found' 
Error in application dependency 'sap.m': 'No descriptor was found' 
Error in application dependency 'sap.ui.layout': 'No descriptor was found' 

を、私は宣言しました次の依存関係:

"dependencies": { 
     "minUI5Version": "1.34.0", 
     "libs": { 
      "sap.ui.core": { 
       "minVersion": "1.34.0" 
      }, 
      "sap.m": { 
       "minVersion": "1.34.0" 
      }, 
      "sap.ui.layout": { 
       "minVersion": "1.34.0" 
      } 
     } 
    }, 

私は何が問題なのか分かりません。おかげさまで

答えて

0

あなたが書いたものの上のどこかに以下を含めましたか?

"sap.ui": { 
    "_version": "1.3.0", 
    "technology": "UI5", 
    "deviceTypes": { 
     "desktop": true, 
     "tablet": true, 
     "phone": true 
    }, 
    "supportedThemes": [ 
     "sap_bluecrystal" 
    ] 
+0

はい、私はそれをやった。私は、全体のmanifest.jsonを投稿しませんでした。返信いただきありがとうございます。 –

+0

あなたのmanifest.jsonは大丈夫です。 愚かな質問かもしれません。ブラウザのキャッシュをクリアした後もこのエラーが発生しますか? –

0

いっぱいmanifest.jsonをは次のとおりです。私はそれが冗長になると思ったので

{ 
    "_version": "1.3.0", 
    "sap.app": { 
     "_version": "1.3.0", 
     "id": "com.roberto", 
     "type": "application", 
     "i18n": "i18n/i18n.properties", 
     "applicationVersion": { 
      "version": "1.0.0" 
     }, 
     "title": "{{appTitle}}", 
     "description": "{{appDescription}}", 
     "sourceTemplate": { 
      "id": "ui5template.basicSAPUI5ApplicationProject", 
      "version": "1.38.11" 
     } 
    }, 
    "sap.ui": { 
     "_version": "1.3.0", 
     "technology": "UI5", 
     "deviceTypes": { 
      "desktop": true, 
      "tablet": true, 
      "phone": true 
     }, 
     "supportedThemes": [ 
      "sap_bluecrystal" 
     ] 
    }, 
    "sap.ui5": { 
     "_version": "1.2.0", 
     "rootView": { 
      "viewName": "com.roberto.view.CollectionBoard", 
      "type": "XML" 
     }, 
     "dependencies": { 
      "minUI5Version": "1.34.0", 
      "libs": { 
       "sap.ui.core": {}, 
       "sap.m": {}, 
       "sap.ui.layout": {} 
      } 
     }, 
     "contentDensities": { 
      "compact": false, 
      "cozy": true 
     }, 
     "models": { 
      "i18n": { 
       "type": "sap.ui.model.resource.ResourceModel", 
       "settings": { 
        "bundleName": "com.roberto.i18n.i18n" 
       } 
      }, 
      "CollectionTree": { 
       "type": "sap.ui.model.json.JSONModel", 
       "uri": "model/prdt_collections_tree.json" 
      } 
     }, 
     "resources": { 
      "css": [ 
       { 
        "uri": "css/custom.css" 
       } 
      ] 
     }, 
     "routing": { 
      "config": { 
       "routerClass": "sap.m.routing.Router", 
       "viewType": "XML", 
       "viewPath": "com.roberto.view", 
       "controlId": "collboard", 
       "controlAggregation": "pages", 
       "bypassed": { 
        "target": "notFound" 
       } 
      }, 
      "routes": [ 
       { 
        "pattern": "", 
        "name": "collections", 
        "target": "TargetCollections" 
       }, 
       { 
        "pattern": "detail/{collectionPath}", 
        "name": "RouteDetails", 
        "target": "TargetDetails" 
       }, 
       { 
        "pattern": "AddCollection", 
        "name": "RouteAdd", 
        "target": "TargetAdd" 
       } 
      ], 
      "targets": { 
       "TargetCollections": { 
        "viewName": "CollectionBoard", 
        "viewType": "XML", 
        "viewLevel": 1 
       }, 
       "TargetDetails": { 
        "viewName": "CollectionDetails", 
        "viewType": "XML", 
        "viewLevel": 2 
       }, 
       "TargetAdd": { 
        "viewName": "AddCollection", 
        "viewType": "XML", 
        "viewLevel": 2 
       }, 
       "notFound": { 
        "viewName": "NotFound", 
        "transition": "show" 
       } 
      } 
     } 
    }, 
    "sap.platform.hcp": { 
     "uri": "webapp", 
     "_version": "1.1.0" 
    } 
} 
関連する問題