My project is utilizing angular 2 with webpack and during the setup process, I encountered Duplicate identifier
errors when running the webpack watcher:
ERROR in [default] /angular/typings/globals/node/index.d.ts:370:8 Duplicate identifier 'unescape'.
ERROR in [default] /angular/typings/globals/node/index.d.ts:371:8 Duplicate identifier 'gc'.
ERROR in [default] /angular/typings/globals/node/index.d.ts:372:8 Duplicate identifier 'v8debug'.
ERROR in [default] /angular/typings/globals/node/index.d.ts:446:25 Duplicate identifier 'Buffer'.
Here is an excerpt from my typings.json file:
{
"name": "angular2",
"version": false,
"dependencies": {},
"globalDependencies": {
"es6-collections": "registry:dt/es6-collections#0.5.1+20160316155526",
"es6-promise": "registry:dt/es6-promise#0.0.0+20160423074304",
"node": "registry:dt/node#4.0.0+20160423143914"
}
}