I have deployed my angular app on aws server using the serverless framework 
and everything has been done successfully but when i hit the url, a white 
screen comes and the screenshot that i have attached is showing in the 
console. Is there anyone who can help me out in this issue and i also have 
attached my index.html, main.ts and manifest.json file

You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
Title: SafetyBeat
import 'hammerjs';
import {enableProdMode} from '@angular/core';
import {platformBrowserDynamic} from '@angular/platform-browser-dynamic';

import {AppModule} from './app/app.module';
import {environment} from './environments/environment';

if (environment.production) {

platformBrowserDynamic().bootstrapModule(AppModule).then(() => {
  if ('serviceWorker' in navigator) {
      .then(function (registration) {
        console.log('Registration successful, scope is:', registration.scope);
      }).catch(function (err) {
      console.log('Service worker registration failed, error:', err);
}).catch(err => console.error(err));

Attachment: manifest.json
Description: application/json

Reply via email to