-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug] Uncaught TypeError: Cannot assign to read only property 'toString' of object '#<Object>' #3416
Comments
The same error is happening in a blank Angular Tauri app created with
It's triggered by this line (this is inside Angular's zone.js): Object.prototype.toString = function () {
//...
} The error is happening on both Windows and macOS with the release candidate of Tauri (haven't tested linux). But it is not happening in Tauri beta and not in the browser (Edge nor Safari). |
Probably related to #3406 |
I have the same issue with mobx library |
By default we're freezing the prototype. You can set |
We're going to publish a new release changing the default value to false since this breaks on several frameworks. |
How about adding a config item like |
Describe the bug
When I add naive-ui to the latest version of tauri app, it went wrong with lodash-es.
Reproduction
Here is the source code
Expected behavior
No response
Platform and versions
Stack trace
Additional context
No response
The text was updated successfully, but these errors were encountered: