To recreate the error: Add wijmo source code to external_modules/wijmo-amd-min run npm install run ng build --prod or ng serve --prod