|
$ npm run build |
|
|
|
> watchfriends@0.0.0 build /home/travis/build/WatchFriends/Web |
|
> ng build --prod --aot |
|
10% building modules 2/2 modules 0 activeCannot read property 'request' of undefined |
|
|
|
TypeError: Cannot read property 'request' of undefined |
|
at handleExternals (/home/travis/build/WatchFriends/Web/node_modules/webpack/lib/ExternalModuleFactoryPlugin.js:37:33) |
|
at next (/home/travis/build/WatchFriends/Web/node_modules/webpack/lib/ExternalModuleFactoryPlugin.js:46:8) |
|
at handleExternals (/home/travis/build/WatchFriends/Web/node_modules/webpack/lib/ExternalModuleFactoryPlugin.js:59:7) |
|
at ExternalModuleFactoryPlugin.<anonymous> (/home/travis/build/WatchFriends/Web/node_modules/webpack/lib/ExternalModuleFactoryPlugin.js:79:5) |
|
at /home/travis/build/WatchFriends/Web/node_modules/angular-cli/node_modules/webpack/lib/NormalModuleFactory.js:207:3 |
|
at /home/travis/build/WatchFriends/Web/node_modules/angular-cli/node_modules/tapable/lib/Tapable.js:168:11 |
|
at NormalModuleFactory.<anonymous> (/home/travis/build/WatchFriends/Web/node_modules/angular-cli/node_modules/webpack/lib/NormalModuleReplacementPlugin.js:26:11) |
|
at NormalModuleFactory.applyPluginsAsyncWaterfall (/home/travis/build/WatchFriends/Web/node_modules/angular-cli/node_modules/tapable/lib/Tapable.js:172:13) |
|
at NormalModuleFactory.create (/home/travis/build/WatchFriends/Web/node_modules/angular-cli/node_modules/webpack/lib/NormalModuleFactory.js:191:8) |
|
at Compilation.process [as _addModuleChain] (/home/travis/build/WatchFriends/Web/node_modules/angular-cli/node_modules/webpack/lib/Compilation.js:359:16) |
|
at Compilation.process [as addEntry] (/home/travis/build/WatchFriends/Web/node_modules/angular-cli/node_modules/webpack/lib/Compilation.js:435:7) |
|
at SingleEntryPlugin.<anonymous> (/home/travis/build/WatchFriends/Web/node_modules/webpack/lib/SingleEntryPlugin.js:22:15) |
|
at Compiler.applyPluginsParallel (/home/travis/build/WatchFriends/Web/node_modules/angular-cli/node_modules/tapable/lib/Tapable.js:193:14) |
|
at Compiler.<anonymous> (/home/travis/build/WatchFriends/Web/node_modules/angular-cli/node_modules/webpack/lib/Compiler.js:463:8) |
|
at Compiler.applyPluginsAsyncSeries (/home/travis/build/WatchFriends/Web/node_modules/angular-cli/node_modules/tapable/lib/Tapable.js:95:46) |
|
at Compiler.compile (/home/travis/build/WatchFriends/Web/node_modules/angular-cli/node_modules/webpack/lib/Compiler.js:456:7) |
|
at Compiler.runAsChild (/home/travis/build/WatchFriends/Web/node_modules/angular-cli/node_modules/webpack/lib/Compiler.js:265:7) |
|
at /home/travis/build/WatchFriends/Web/node_modules/@ngtools/webpack/src/resource_loader.js:38:27 |
|
at WebpackResourceLoader._compile (/home/travis/build/WatchFriends/Web/node_modules/@ngtools/webpack/src/resource_loader.js:37:16) |
|
at WebpackResourceLoader.get (/home/travis/build/WatchFriends/Web/node_modules/@ngtools/webpack/src/resource_loader.js:91:21) |
|
at DirectiveNormalizer._fetch (/home/travis/build/WatchFriends/Web/node_modules/@angular/compiler/bundles/compiler.umd.js:13896:45) |
|
at DirectiveNormalizer.normalizeTemplateAsync (/home/travis/build/WatchFriends/Web/node_modules/@angular/compiler/bundles/compiler.umd.js:13930:23) |
|
at DirectiveNormalizer.normalizeTemplate (/home/travis/build/WatchFriends/Web/node_modules/@angular/compiler/bundles/compiler.umd.js:13910:46) |
|
at CompileMetadataResolver._loadDirectiveMetadata (/home/travis/build/WatchFriends/Web/node_modules/@angular/compiler/bundles/compiler.umd.js:14471:60) |
|
at /home/travis/build/WatchFriends/Web/node_modules/@angular/compiler/bundles/compiler.umd.js:14712:89 |
|
at /home/travis/build/WatchFriends/Web/node_modules/@angular/compiler/bundles/compiler.umd.js:12714:153 |
|
at Array.map (native) |
|
at /home/travis/build/WatchFriends/Web/node_modules/@angular/compiler/bundles/compiler.umd.js:12714:122 |
|
at Array.map (native) |
|
at loadNgModuleDirectives (/home/travis/build/WatchFriends/Web/node_modules/@angular/compiler/bundles/compiler.umd.js:12714:46) |
|
at OfflineCompiler.compileModules (/home/travis/build/WatchFriends/Web/node_modules/@angular/compiler/bundles/compiler.umd.js:12776:18) |
|
at CodeGenerator.codegen (/home/travis/build/WatchFriends/Web/node_modules/@angular/compiler-cli/src/codegen.js:58:30) |
|
at /home/travis/build/WatchFriends/Web/node_modules/@ngtools/webpack/src/plugin.js:210:73 |
|
at process._tickCallback (internal/process/next_tick.js:103:7) |
|
|
|
npm ERR! Linux 4.8.12-040812-generic |
|
npm ERR! argv "/home/travis/.nvm/versions/node/v6.9.4/bin/node" "/home/travis/.nvm/versions/node/v6.9.4/bin/npm" "run" "build" |
|
npm ERR! node v6.9.4 |
|
npm ERR! npm v3.10.10 |
|
npm ERR! code ELIFECYCLE |
|
npm ERR! watchfriends@0.0.0 build: `ng build --prod --aot` |
|
npm ERR! Exit status 1 |
|
npm ERR! |
|
npm ERR! Failed at the watchfriends@0.0.0 build script 'ng build --prod --aot'. |
|
npm ERR! Make sure you have the latest version of node.js and npm installed. |
|
npm ERR! If you do, this is most likely a problem with the watchfriends package, |
|
npm ERR! not with npm itself. |
|
npm ERR! Tell the author that this fails on your system: |
|
npm ERR! ng build --prod --aot |
|
npm ERR! You can get information on how to open an issue for this project with: |
|
npm ERR! npm bugs watchfriends |
|
npm ERR! Or if that isn't available, you can get their info via: |
|
npm ERR! npm owner ls watchfriends |
|
npm ERR! There is likely additional logging output above. |
|
npm ERR! Please include the following file with any support request: |
|
npm ERR! /home/travis/build/WatchFriends/Web/npm-debug.log |
|
|
|
The command "npm run build" exited with 1. |