Environment.setEnv({
// api key for server
‘API_KEY_FOR_BROWSER_RELEASE’: ‘(*******************************)’,
// api key for local development
'API_KEY_FOR_BROWSER_DEBUG': 'http://localhost/'
});
response error page:
ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'environment' of null
TypeError: Cannot read property 'environment' of null