Closed sainnhe closed 5 months ago
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;
at getRawTag (/home/sainnhe/.local/share/nvim/coc/extensions/node_modules/coc-explorer/lib/index.js:6127:27)
The getRawTag
function seems to broken. I'm going to report it to the upstream.
Confirmed this is a packaging issue in fedora. Closed.
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