Posted 23 January 2018, 8:28 am EST
Hey all,
I updated to Angular 5 and Wijmo 405 and I hate to update both, but I did now when I build in production I get “Uncaught ReferenceError: define is not defined”. When I build in dev no errors are produced. Also when I build in production I get a slew of these warnings
WARNING in ./src/app/components/form.storepoilyprint.component/form.storepoilyprint.component.ts
9:28-50 "export ‘CollectionView’ (imported as ‘wjcCore’) was not found in ‘wijmo/wijmo’
at HarmonyImportSpecifierDependency._getErrors (C:\Enterprise\Enterprise\Development\Integration\OnBoarding\OnBoarding_WEB\node_modules@angular\cli\node_modules\webpack\lib\dependencies\HarmonyImportSpecifierDependency.js:65:15)
at HarmonyImportSpecifierDependency.getWarnings (C:\Enterprise\Enterprise\Development\Integration\OnBoarding\OnBoarding_WEB\node_modules@angular\cli\node_modules\webpack\lib\dependencies\HarmonyImportSpecifierDependency.js:39:15)
at Compilation.reportDependencyErrorsAndWarnings (C:\Enterprise\Enterprise\Development\Integration\OnBoarding\OnBoarding_WEB\node_modules@angular\cli\node_modules\webpack\lib\Compilation.js:703:24)
at Compilation.finish (C:\Enterprise\Enterprise\Development\Integration\OnBoarding\OnBoarding_WEB\node_modules@angular\cli\node_modules\webpack\lib\Compilation.js:561:9)
at applyPluginsParallel.err (C:\Enterprise\Enterprise\Development\Integration\OnBoarding\OnBoarding_WEB\node_modules@angular\cli\node_modules\webpack\lib\Compiler.js:502:17)
at C:\Enterprise\Enterprise\Development\Integration\OnBoarding\OnBoarding_WEB\node_modules\tapable\lib\Tapable.js:289:11
at _addModuleChain (C:\Enterprise\Enterprise\Development\Integration\OnBoarding\OnBoarding_WEB\node_modules@angular\cli\node_modules\webpack\lib\Compilation.js:507:11)
at processModuleDependencies.err (C:\Enterprise\Enterprise\Development\Integration\OnBoarding\OnBoarding_WEB\node_modules@angular\cli\node_modules\webpack\lib\Compilation.js:477:14)
at _combinedTickCallback (internal/process/next_tick.js:131:7)
at process._tickCallback (internal/process/next_tick.js:180:9)
@ ./src/app/components/form.storepoilyprint.component/form.storepoilyprint.component.ts
@ ./src/app/components/form.storepoilyprint.component/form.storepoilyprint.component.ngfactory.js
@ ./src/app/app.module.ngfactory.js
@ ./src/main.ts
@ multi webpack-dev-server/client?http://0.0.0.0:0 ./src/main.ts
Any help is much appreciated.