2017-08-14 9 views
2

私はイオン&角度servicestackで一部の更新後イオンのApp、活字体エラー名「RequestMode」

活字エラー名「RequestMode」を見つけることができません以下のように私にエラーを与え、私のイオンアプリで問題を抱えているが見つかりません。 。 node_modules/servicestack-クライアント/ SRC/index.d.ts

oneWayBaseUrl: string; 
mode: RequestMode; 
credentials: RequestCredentials; 

活字エラー名 'RequestCredentials' を見つけることができません。 node_modules/servicestack-クライアント/ SRC/index.d.ts

mode: RequestMode; 
credentials: RequestCredentials; 
headers: Headers; 

私のイオン、角度やPC情報

Typescript : 2.4.2 
Ionic Framework: 3.1.1 
Ionic App Scripts: 1.3.4 
Angular Core: 4.0.2 
Angular Compiler CLI: 4.0.2 
Node: 6.10.0 
OS Platform: macOS Sierra 
Navigator Platform: MacIntel 
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36 

tsconfig.jsonファイル

{ 
    "compilerOptions": { 
    "allowSyntheticDefaultImports": true, 
    "declaration": false, 
    "emitDecoratorMetadata": true, 
    "experimentalDecorators": true, 
    "target": "es5", 
    "module": "commonjs", 
    "lib": ["dom","es2015"], 
    "moduleResolution": "node", 
    "sourceMap": true 
    }, 
    "include": [ 
    "src/**/*.ts", 
    "typings/**/*.ts" 
    ], 
    "exclude": [ 
    "node_modules" 
    ], 
    "compileOnSave": false, 
    "atom": { 
    "rewriteTsconfig": false 
    } 
} 

答えて

0

これは、 tsconfig.json that servicestack-client was built with最新のv2.4.2 of typescriptを使用して、TypeScriptの組み込みののW3Cフェッチタイプを参照しますですので、lib domを参照している場合は、これらの欠落しているタイプにアクセスできます。

あなたのプロジェクトに何が問題なのかよくわかりませんが、コンフリクトを引き起こす可能性があるtypings/*のような型定義の競合を引き起こす可能性のあるものを調べます。