question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Uncaught TypeError: Cannot assign to read only property 'for'...

See original GitHub issue

Just came out of nowere. I’m getting the following error (Edge Version 104.0.1293.70):

Uncaught TypeError: Cannot assign to read only property 'for' of function '(template, ...values) => new Hole(type, template, values)'
    at Function.assign (<anonymous>)
    at tag (index.js:16:17)
    at index.js:60:14

No need to mention this was working fine in previous versions of Edge/Chromium. Maybe they made read-only something that you are trying to override?

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
CheloXLcommented, Aug 31, 2022

@WebReflection Thank you very much. No need to apology. Those are your libraries and I’m the one using them. They are all great, so, again, thank YOU.

0reactions
WebReflectioncommented, Aug 31, 2022

@CheloXL please update bind.for to 0.2.0 which is fully tested as non-breaking for this, or any other, use case.

Apologies for the inconvenience.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Uncaught TypeError: Cannot assign to read only property
When you use Object.defineProperties , by default writable is set to false , so _year and edition are actually read only properties.
Read more >
TypeError: "x" is read-only - JavaScript - MDN Web Docs
The JavaScript strict mode-only exception "is read-only" occurs when a global variable or object property that was assigned to is a read-only property....
Read more >
Cannot assign to read only property of Object in JavaScript
The error "Cannot assign to read only property of object" occurs when we try to change a property of an object that has...
Read more >
Uncaught TypeError: Cannot assign to read only property &#38
I have been using 4.8.x without problems. I am building mdbootstrap pro with webpack according to boilerplate description. Everything worked until I updated...
Read more >
[Cannot assign to read only property '<field_name>' of object ...
This type of error(Cannot assign to read-only property) generally occurs on update of public property @api decorator variable value.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found