-
Notifications
You must be signed in to change notification settings - Fork 45
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] TypeError: Cannot assign to read only property 'Symbol(Symbol.toStringTag)' of object '#<WeakMap>' #584
Labels
bug
Something isn't working
Comments
This seems to be a bug in Node.js on a specific platform. Perhaps you could try updating to the latest version of Node.js? I don't have an M1 Mac, so I can't reproduce the issue. |
That's a very strange bug. It seems to be caused by lodash: // node_modules/lodash-es/_getRawTag.js
var objectProto = Object.prototype;
var hasOwnProperty = objectProto.hasOwnProperty;
var nativeObjectToString = objectProto.toString;
var symToStringTag = Symbol_default ? Symbol_default.toStringTag : void 0;
function getRawTag(value) {
var isOwn = hasOwnProperty.call(value, symToStringTag), tag = value[symToStringTag];
try {
value[symToStringTag] = void 0;
var unmasked = true;
} catch (e2) {
}
var result = nativeObjectToString.call(value);
if (unmasked) {
if (isOwn) {
value[symToStringTag] = tag;
} else {
delete value[symToStringTag];
}
}
return result;
}
var getRawTag_default = getRawTag;
The |
Confirmed this is a packaging issue in fedora. Closed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Error at launch. Nvim reports:
Result from CocInfo
Steps to reproduce
Steps to reproduce the behavior:
Simply open nvim and do nothing (no need to open explorer window) and this error will appear.
For more information, I'm using asahi linux fedora remix on m1 mac, and I can confirm that this error doesn't exist on macOS.
cat /etc/os-release
Expected behavior
Screenshots
Additional context
None
The text was updated successfully, but these errors were encountered: