CodeByZach / pace

Automatically add a progress bar to your site.
https://codebyzach.github.io/pace/
MIT License
15.68k stars 1.9k forks source link

Backend REST API calls are blocked by pace progress bar in GCP cloud. #512

Open SatheeshKS10 opened 3 years ago

SatheeshKS10 commented 3 years ago

Hi Team,

We are using the PACE progress bar in our angular 9 app. But all of a sudden the REST API calls to the backend is blocked by pace in cloud environment and we got the below error,

Function.prototype.toString requires that 'this' be a Function
at toString (<anonymous>)
at toString (zone.js:1600)
at push../node_modules/core-js/internals/inspect-source.js.store.inspectSource (inspect-source.js:8)
at toString (redefine.js:33)
at ua (ruxitagentjs_ICA27SVfgqrux_10205201218101503.js:389)

The REST API calls are not blocked, when we remove the pace plugin. The issue occurs only in the cloud.

Environment details: GCP cloud, Docker, Angular 9

Can you kindly shed some light on this!

euangordon commented 3 years ago

Hi Satheesh,

I raised a similar issue : https://github.com/CodeByZach/pace/issues/509

You could try downgrading to v1.0.2 it seems to work for us.

Euan