AWS appasync error global.TYPE.xx

Go to the file aws-appsync/lib/detasync.js and search for global in 375 and change it to window
which is what you’re using in this file, global.setTimeout and change it to window.setTimeout

Read More: