-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Description
Hi,
ERROR in ./server.ts
Module build failed: TypeError: Cannot read property 'afterCompile' of undefined
at successfulTypeScriptInstance (D:\test\ang\node_modules\ts-loader\dist\instances.js:147:28)
at Object.getTypeScriptInstance (D:\test\ang\node_modules\ts-loader\dist\instances.js:48:12)
at Object.loader (D:\test\ang\node_modules\ts-loader\dist\index.js:16:41)
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! ang@0.0.0 webpack:server: webpack --config webpack.server.config.js --progress --colors
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the ang@0.0.0 webpack:server script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
I receive this error when I try to run "webpack --config webpack.server.config.js --progress --colors"