Open shelbyKiraM opened 2 years ago
Hello,
I have similar issues with pigments:palette.
Atom: 1.60.0 x64 Electron: 9.4.4 OS: macOS 12.3.1 Thrown From: pigments package 0.40.6
Uncaught ReferenceError: __CUSTOM_HTML_ELEMENTS_CLASSES__ is not defined
At /Users/ursus_mortiferum/.atom/packages/pigments/node_modules/atom-utils/lib/register-or-update-element.js:55
ReferenceError: __CUSTOM_HTML_ELEMENTS_CLASSES__ is not defined
at module.exports (/packages/pigments/node_modules/atom-utils/lib/register-or-update-element.js:55:5)
at /packages/pigments/lib/palette-element.coffee:237:1)
at /packages/pigments/lib/palette-element.coffee:1:1)
at /packages/pigments/lib/palette-element.coffee:1:1)
at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:149913)
at Object.value [as .coffee] (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:153507)
at Module.load (internal/modules/cjs/loader.js:815:32)
at Module._load (internal/modules/cjs/loader.js:727:14)
at Function.Module._load (electron/js2c/asar.js:769:28)
at Module.require (/app.asar/static/index.js:72:46)
at require (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:149229)
at Object.pigmentsViewProvider (/packages/pigments/lib/pigments.coffee:206:25)
at Object.createView (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3418346)
at ViewRegistry.createView (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:327939)
at ViewRegistry.getView (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:327404)
at HTMLElement.activeItemChanged (/app.asar/src/pane-element.js:139:33)
at Function.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1187666)
at Emitter.emit (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1189107)
at Pane.setActiveItem (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:459674)
at Pane.activateItem (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:461922)
at TabBarView.onClick (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1138283)
-1:14.6.0 intentions:highlight (input.hidden-input)
-1:14.4.0 command-palette:toggle (input.hidden-input)
2x -1:12.4.0 core:backspace (input.hidden-input)
-1:09.8.0 core:move-left (input.hidden-input)
-1:09.6.0 core:move-down (input.hidden-input)
-1:09.2.0 core:confirm (input.hidden-input)
-1:09.2.0 pigments:show-palette (input.hidden-input)
atom-beautify 0.33.4
atom-discord 2.0.2
auto-update-packages 1.0.1
autoclose-html 0.23.0
bracket-colorizer 1.4.0
browser-plus 0.0.98
busy-signal 2.0.1
dracula-syntax 3.0.2
dracula-ui 0.6.0
emmet 2.4.3
import 1.7.0
intentions 2.1.1
linter 3.4.0
linter-csslint 2.0.6
linter-htmlhint 1.6.3
linter-tidy 2.4.0
linter-ui-default 3.4.1
livereload 0.4.4
minimap 4.40.1
minimap-pigments 0.2.2
pane-layout-plus 0.7.4
pigments 0.40.6
platformio-ide-terminal 2.10.1
script 3.32.2
sync-settings 5.2.15
In my case, creating a .pigments file helped
Overall, I was able to resolve all issues. After all, the palette was empty due to an incorrect database. @shelbyKiraM, I hope you will be able to come up with some solution for your case.
Reaffirming this is still an issue and that I do not see any documentation on how to fix.
apm install atom-pigments
Pigments: Show Pallette
Expected behavior:
No errors
Actual behavior:
Atom: 1.60.0 x64 Electron: 9.4.4 OS: macOS 12.6 Thrown From: pigments package 0.40.6
Uncaught ReferenceError: __CUSTOM_HTML_ELEMENTS_CLASSES__ is not defined
At /Users/t0d00bh/.atom/packages/pigments/node_modules/atom-utils/lib/register-or-update-element.js:55
ReferenceError: __CUSTOM_HTML_ELEMENTS_CLASSES__ is not defined
at module.exports (/packages/pigments/node_modules/atom-utils/lib/register-or-update-element.js:55:5)
at /packages/pigments/lib/palette-element.coffee:237:1)
at /packages/pigments/lib/palette-element.coffee:1:1)
at /packages/pigments/lib/palette-element.coffee:1:1)
at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:149913)
at Object.value [as .coffee] (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:153507)
at Module.load (internal/modules/cjs/loader.js:815:32)
at Module._load (internal/modules/cjs/loader.js:727:14)
at Function.Module._load (electron/js2c/asar.js:769:28)
at Module.require (/app.asar/static/index.js:72:46)
at require (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:149229)
at Object.pigmentsViewProvider (/packages/pigments/lib/pigments.coffee:206:25)
at Object.createView (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3418346)
at ViewRegistry.createView (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:327939)
at ViewRegistry.getView (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:327404)
at HTMLElement.activeItemChanged (/app.asar/src/pane-element.js:139:33)
at Function.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1187666)
at Emitter.emit (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1189107)
at Pane.setActiveItem (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:459674)
at Pane.activateItem (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:461922)
at TabBarView.onClick (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1138283)
-0:36.2.0 intentions:highlight (input.hidden-input)
5x -0:36 core:undo (input.hidden-input)
-0:32.5.0 intentions:highlight (input.hidden-input)
-0:32.2.0 command-palette:toggle (input.hidden-input)
8x -0:28.6.0 core:backspace (input.hidden-input)
9x -0:22.4.0 core:move-down (input.hidden-input)
-0:19.9.0 core:move-up (input.hidden-input)
-0:19.5.0 core:confirm (input.hidden-input)
-0:19.5.0 pigments:show-palette (input.hidden-input)
atom-beautify 0.33.4
atom-css-comb 3.5.1
atom-html-preview 0.2.7
atom-wrap-in-tag 0.6.0
autoclose-html 0.23.0
autocomplete-python 1.17.1
busy-signal 2.0.1
color-picker 2.3.0
docker 0.8.0
double-tag 1.7.0
drag-relative-path 1.2.3
emmet 2.4.3
file-icons 2.1.47
highlight-selected 0.17.0
Hydrogen 2.16.3
intentions 2.1.1
language-docker 1.1.8
less-than-slash 0.20.0
linter 3.4.0
linter-csslint 2.0.6
linter-docker 0.3.2
linter-htmlhint 1.6.3
linter-jshint 3.1.19
linter-ui-default 3.4.1
markdown-to-pdf 0.1.1
merge-conflicts 1.4.5
minimap 4.40.1
minimap-cursorline 1.0.5
pdf-view 0.73.0
pigments 0.40.6
platformio-ide-terminal 2.10.1
prettier-atom 0.60.1
script 3.32.2
teletype 0.13.4
todo-show 2.3.2
[Enter steps to reproduce:]
pigm
and selectPigments: Show Palette
.Atom: 1.59.0 x64 Electron: 9.4.4 OS: macOS 12.2.1 Thrown From: pigments package 0.40.6
Stack Trace
Uncaught ReferenceError: __CUSTOM_HTML_ELEMENTS_CLASSES__ is not defined
Commands
Non-Core Packages