Skip to content

Instantly share code, notes, and snippets.

@andy5995
Created November 9, 2017 03:34
Show Gist options
  • Save andy5995/55e2f045b34c9dbc7e38041f8cdbb35c to your computer and use it in GitHub Desktop.
Save andy5995/55e2f045b34c9dbc7e38041f8cdbb35c to your computer and use it in GitHub Desktop.
$ ng build --environment=${C4SG_NG_ENV-'staging_remote'}
69% building modules 1288/1290 modules 2 active ...my-pagination-controls.compo 69% building modules 1289/1290 modules 1 active ...ser-avatar/user-avatar.compoHash: b157b8d9fd4540ef0a96
Time: 32249ms
chunk {0} polyfills.bundle.js, polyfills.bundle.js.map (polyfills) 412 kB {5} [initial] [rendered]
chunk {1} main.bundle.js, main.bundle.js.map (main) 990 kB {4} [initial] [rendered]
chunk {2} styles.bundle.js, styles.bundle.js.map (styles) 339 kB {5} [initial] [rendered]
chunk {3} scripts.bundle.js, scripts.bundle.js.map (scripts) 393 kB {5} [initial] [rendered]
chunk {4} vendor.bundle.js, vendor.bundle.js.map (vendor) 6.84 MB [initial] [rendered]
chunk {5} inline.bundle.js, inline.bundle.js.map (inline) 0 bytes [entry] [rendered]
WARNING in ./~/@agm/core/services/maps-api-loader/lazy-maps-api-loader.js
24:38-52 "export 'InjectionToken' was not found in '@angular/core'
ERROR in /home/andy/src/c4sg-web/node_modules/@agm/core/services/maps-api-loader/lazy-maps-api-loader.d.ts (1,10): Module '"/home/andy/src/c4sg-web/node_modules/@angular/core/index"' has no exported member 'InjectionToken'.
ERROR in Error encountered resolving symbol values statically. Calling function 'InjectionToken', function calls are not supported. Consider replacing the function or lambda with a reference to an exported function, resolving symbol LAZY_MAPS_API_CONFIG in /home/andy/src/c4sg-web/node_modules/@agm/core/services/maps-api-loader/lazy-maps-api-loader.d.ts, resolving symbol AgmCoreModule.forRoot in /home/andy/src/c4sg-web/node_modules/@agm/core/core.module.d.ts, resolving symbol AppModule in /home/andy/src/c4sg-web/src/app/app.module.ts, resolving symbol AppModule in /home/andy/src/c4sg-web/src/app/app.module.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment