私はtypeScriptを使用してNodeJSプロジェクトを作成しています。 nscをインストールした後、tscコマンドで、「Duplicate Identifier 'Mongoose'」というメッセージで同様の複数のエラーが表示されます。nodeJSプロジェクトの複数の "Duplicate identifier .."エラー
私tsconfig.jsonは活字体がグローバルにインストールされている以下の
{
"compilerOptions": {
"module": "commonjs",
"target": "es6",
"outDir": "./build",
"noImplicitAny" : true,
"sourceMap": true,
"typeRoots": [
"typings/global",
"typings/modules"
]
// "skipLibCheck": true
},
"compileOnSave": true,
"exclude": [
"node_modules"
]
}
です。なぜ誰がこれが起こっているのか分かりませんか? ありがとうございました!
https://stackoverflow.com/questions/31322525/typescript-confusing-duplicate-identifier-error-message可能 – skylize
[Typescriptの重複した "重複する識別子"エラーメッセージ](https://stackoverflow.com/questions/31322525/typescript-confusing-duplicate-identifier-error-message) – skylize