Typescript build getting errors from node_modules folder

I was struggling with this as well.

I added the following to the top of the TS file that contained the import {bootstrap} line:

///<reference path="../node_modules/angular2/typings/browser.d.ts"/> 

Your path may be different of course for that file.

Leave a Comment