You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Other projects of mine, using the same version, continue to work correctly. What could be causing this? My environment runs under Angular 15.
api.js?render=explicit:3 Uncaught TypeError: Cannot assign to read only property 'copy' of object '[object Object]'
at Object.<anonymous> (api.js?render=explicit:3:262458)
at 29.base64-js (api.js?render=explicit:3:263818)
at o (api.js?render=explicit:3:221092)
at api.js?render=explicit:3:221144
at 2.buffer (api.js?render=explicit:3:221758)
at o (api.js?render=explicit:3:221092)
at api.js?render=explicit:3:221144
at 8../buffer-global (api.js?render=explicit:3:225354)
at o (api.js?render=explicit:3:221092)
at api.js?render=explicit:3:221144
The text was updated successfully, but these errors were encountered:
After a lot of struggle, I found the cause of the problem.
In my Angular project, there is a file src/prototypes.ts this file was created by a developer two years ago to facilitate copying Angular objects without reference.
Today one of my published projects presented the error
Uncaught TypeError: Cannot assign to read only property 'copy' of object '[object Object]'
.We didn't update anything so we started investigating and the error is returned by the script "https://hcaptcha.com/1/api.js?render=explicit" loaded by ng-hcaptcha.
Other projects of mine, using the same version, continue to work correctly. What could be causing this? My environment runs under Angular 15.
The text was updated successfully, but these errors were encountered: