axmor / typecs

TypEcs - TypeScript IDE for Eclipse
61 stars 14 forks source link

Unknown compiler option 'lib' #104

Open buddyackerman opened 8 years ago

buddyackerman commented 8 years ago

I get this and the following error when trying to compile a new project that was created with angular-cli (using NG2 Final).

Unknown compiler option 'typeRoots'.

Here is the tsconfig:

{ "compilerOptions": { "declaration": false, "emitDecoratorMetadata": true, "experimentalDecorators": true, "lib": ["es6", "dom"], "mapRoot": "./", "module": "es6", "moduleResolution": "node", "outDir": "../dist/out-tsc", "sourceMap": true, "target": "es5", "typeRoots": [ "../node_modules/@types" ] } }

The typescript version in the project is 2.0.2.