Angular-cli: Parse tsconfig error

Created on 7 Aug 2016  路  4Comments  路  Source: angular/angular-cli

Please provide us with the following information:

  1. OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)

Windows 10

  1. Versions. Please run ng --version. If there's nothing outputted, please run
    in a Terminal: node --version and paste the result here:

angular-cli: 1.0.0-beta.11-webpack
node: 6.3.1
os: win32 x64

  1. Repro steps. Was this an app that wasn't created using the CLI? What change did you
    do on your code? etc.

this is a clean install of angular-cli@webpack. followed the instructions and installed locally after "ng new [name]" then opened up webstorm and find the error

  1. The log given by the failure. Normally this include a stack trace and some
    more information.

Error:Error: Parse tsconfig error [{"messageText":"Unknown compiler option 'lib'.","category":1,"code":5023},{"messageText":"Unknown compiler option 'typeRoots'.","category":1,"code":5023},{"messageText":"Unknown compiler option 'types'.","category":1,"code":5023}]

  1. Mention any other details that might be useful.

Thanks! We'll be in touch soon.

Most helpful comment

I ran npm i [email protected] -g and also reran npm install (because 2.0.0 is in package.json) I went into settings and set the compiler to the version in my local node_modules/typescript/lib and webstorm is happy now

All 4 comments

You don't have typescript 2.0.0 installed.

I ran npm i [email protected] -g and also reran npm install (because 2.0.0 is in package.json) I went into settings and set the compiler to the version in my local node_modules/typescript/lib and webstorm is happy now

tsc -v
Version 2.1.5;

Error:Cannot start compiler process: Error: Parse tsconfig error [{"messageText":"Unknown compiler option 'lib'.","category":1,"code":5023}]

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

_This action has been performed automatically by a bot._

Was this page helpful?
0 / 5 - 0 ratings