I am getting the following error when I try to serve my angular 6 application using cosmicjs:
Uncaught ReferenceError: process is not defined at Object..
This is an incompatibility with Angular 6. They removed support (shim) of process and global variables in browser.
Adding the following before your closing into your index.html will remove the error.