Search code examples
angulartypescriptsystemjs

npm start gives: Cannot find module 'typings-core' error


I've been literally battling with typescript & angular2 the whole day today, since I was unable to start the development server for my app. After hours of frustration followed by lots of googling, I finally managed to get rid of all the errors but one:

node_modules/typings/dist/support/cli.d.ts(2,32): error TS2307: Cannot find module 'typings-core'.

Could anyone provide a solution for this? (couldn't find anything online).

Thanks, Piotr


Solution

  • I actually got away with the error by adding the code below to tsconfig.json

        "skipLibCheck": true,