Build npm install Edit app/node_modules/@types/requirejs/index.d.ts Comment out ... //declare var require: Require; ... ./compile