angular2base icon indicating copy to clipboard operation
angular2base copied to clipboard

No longer working. Does not build

Open andrewcheny opened this issue 8 years ago • 1 comments

Got the error when run npm run build:

ERROR in ./src/app.ts Module build failed: TypeError: compiler.parseConfigFile is not a function at ensureTypeScriptInstance (/home/andrew/angularprj/angular2base/node_modules/ts-loader/index.js:147:38) at Object.loader (/home/andrew/angularprj/angular2base/node_modules/ts-loader/index.js:365:14)

Any ideas?

andrewcheny avatar Jun 13 '16 14:06 andrewcheny

force the typescript version in package.json to version 1.6.2, and run npm install again. "typescript": "1.6.2",

You should be able to build thereafter.

goondu avatar Jun 23 '16 14:06 goondu