Closed AtzeDeVries closed 9 years ago
This is weird; there's a stylesheet with the wrong type. Could you report the output of the following script in the console after this error happens?
packages = atom.packages.getLoadedPackages();
packageStylesheets = packages.map(function(pkg) { return pkg.stylesheets; });
stylesheetPairs = [].concat.apply([], packageStylesheets);
stylesheetPairs.filter(function(pair) { return typeof pair[1] !== "string"; });
Hi
I found that the theme Polychrome is causing this issue. Using an other theme than is 'solves' the problem. Do you still want the output?
Yeah, it'd still be useful if you have a moment to run it. I don't think there's any problem with the polychrome theme, so I believe this is a bug in Atom.
I'm not using the Polychrome theme (Unity/Monokai) and I have the same error.
packages = atom.packages.getLoadedPackages(); packageStylesheets = packages.map(function(pkg) { return pkg.stylesheets; }); stylesheetPairs = [].concat.apply([], packageStylesheets); stylesheetPairs.filter(function(pair) { return typeof pair[1] !== "string"; }); [Array[2]0: "/Users/my_user/.atom/packages/script/stylesheets/script.less"1: Notificationlength: 2proto: Array[0]
This happens whenever I right-click the "Deprecation Cop" tab and try to "Split Right".
[Enter steps to reproduce below:]
Atom Version: 0.174.0 System: linux 3.18.2-2-ARCH Thrown From: deprecation-cop package, v0.32.0
Stack Trace
Uncaught TypeError: undefined is not a function
Commands
Config
Installed Packages
/cc @atom/core