I've been trying to use angularfire2 with the ng-pwa-tools, but when I get to the using the ngu-app-shell tool or the ngu-sw-manifest I have the following error.
> my-cool-site@0.0.0 ngu-app-shell /Users/michaelsolati/Documents/workspace/my-cool-site
> ngu-app-shell --module src/app/app.module.ts --out dist/index.html
/Users/michaelsolati/Documents/workspace/my-cool-site/node_modules/@angular/compiler/bundles/compiler.umd.js:1724
var /** @type {?} */ error = Error(msg);
^
Error: Unexpected value 'undefined' imported by the module 'SharedModule'
at syntaxError (/Users/michaelsolati/Documents/workspace/my-cool-site/node_modules/@angular/compiler/bundles/compiler.umd.js:1724:34)
at /Users/michaelsolati/Documents/workspace/my-cool-site/node_modules/@angular/compiler/@angular/compiler.es5.js:15384:27
at Array.forEach (native)
at CompileMetadataResolver.getNgModuleMetadata (/Users/michaelsolati/Documents/workspace/my-cool-site/node_modules/@angular/compiler/@angular/compiler.es5.js:15361:42)
at CompileMetadataResolver.getNgModuleSummary (/Users/michaelsolati/Documents/workspace/my-cool-site/node_modules/@angular/compiler/@angular/compiler.es5.js:15303:10)
at /Users/michaelsolati/Documents/workspace/my-cool-site/node_modules/@angular/compiler/@angular/compiler.es5.js:15376:65
at Array.forEach (native)
at CompileMetadataResolver.getNgModuleMetadata (/Users/michaelsolati/Documents/workspace/my-cool-site/node_modules/@angular/compiler/@angular/compiler.es5.js:15361:42)
at CompileMetadataResolver.getNgModuleSummary (/Users/michaelsolati/Documents/workspace/my-cool-site/node_modules/@angular/compiler/@angular/compiler.es5.js:15303:10)
at /Users/michaelsolati/Documents/workspace/my-cool-site/node_modules/@angular/compiler/@angular/compiler.es5.js:15376:65
I'm pretty sure I'm going through the angularfire2 set up correctly as it works perfectly fine when I'm testing/developing/building. It's just with the ng-pwa-tools these errors pop up.
I've been trying to use
angularfire2
with theng-pwa-tools
, but when I get to the using thengu-app-shell
tool or thengu-sw-manifest
I have the following error.I'm pretty sure I'm going through the
angularfire2
set up correctly as it works perfectly fine when I'm testing/developing/building. It's just with theng-pwa-tools
these errors pop up.Module
Service