Uncaught ReferenceError: __CUSTOM_HTML_ELEMENTS_CLASSES__ is not defined
- Lingua principale
- CoffeeScript
- Stelle
- 163
- Fork
- 44
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
[Enter steps to reproduce:]
1. Right click on .csv file in finder and select open with atom
2. Didn't change any options and clicked Open Table Editor
3. Error appeared
**Atom**: 1.53.0 x64
**Electron**: 6.1.12
**OS**: macOS 11.1
**Thrown From**: [tablr](https://github.com/abe33/atom-tablr) package 1.8.3
### Stack Trace
Uncaught ReferenceError: __CUSTOM_HTML_ELEMENTS_CLASSES__ is not defined
```
At /Users/peterdye/.atom/packages/tablr/node_modules/atom-utils/lib/register-or-update-element.js:55
ReferenceError: __CUSTOM_HTML_ELEMENTS_CLASSES__ is not defined
at module.exports (/packages/tablr/node_modules/atom-utils/lib/register-or-update-element.js:55:5)
at element (/packages/tablr/lib/decorators/element.js:6:10)
at Function.initClass (/packages/tablr/lib/csv-progress-element.js:11:12)
at /packages/tablr/lib/csv-progress-element.js:59:37)
at /packages/tablr/lib/csv-progress-element.js:61:3)
at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/static/:11:147498)
at Object.value [as .js] (/Applications/Atom.app/Contents/Resources/app/static/:11:151046)
at Module.load (internal/modules/cjs/loader.js:645:32)
at Function.Module._load (internal/modules/cjs/loader.js:560:12)
at Module.require (/app.asar/static/index.js:72:46)
at require (/Applications/Atom.app/Contents/Resources/app/static/:11:146814)
at HTMLElement.displayProgress (/packages/tablr/lib/csv-editor-element.js:198:28)
at HTMLElement.ensureProgress (/packages/tablr/lib/csv-editor-element.js:193:39)
at /packages/tablr/lib/csv-editor-element.js:61:12
at Function.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/static/:11:1190051)
at Emitter.emit (/Applications/Atom.app/Contents/Resources/app/static/:11:1191492)
at CSVEditor.openTableEditor (/packages/tablr/lib/csv-editor.js:270:18)
at /packages/tablr/lib/csv-editor-element.js:154:20)
at HTMLButtonElement.listener (/packages/tablr/node_modules/atom-utils/lib/mixins/events-delegation.js:108:41)
```
### Commands
```
```
### Non-Core Packages
```
arduino-upload 1.8.0
atom-clock 0.1.18
atom-ide-debugger-python 0.7.3
atom-ide-outline 1.16.0
atom-ide-ui 0.13.0
file-icons 2.1.46
ide-python 1.7.2
ide-rust 0.22.0-beta.3
kite 0.197.0
language-arduino 0.4.3
language-cython 0.3.0
language-matlab 0.2.1
minimap 4.38.2
pdf-view 0.72.0
platformio-ide-terminal 2.10.1
python-debugger 0.2.0
python-tools 0.6.9
tablr 1.8.3
```
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
L’errore ha origine in /packages/tablr/node_modules/atom-utils/lib/register-or-update-element.js alla riga 55, dove viene fatto riferimento a un __CUSTOM_HTML_ELEMENTS_CLASSES__ non definito. Inizia esaminando quel file e il suo utilizzo nel pacchetto tablr, in particolare in lib/decorators/element.js e lib/csv-progress-element.js. Verifica se la variabile è dichiarata o importata. La correzione probabilmente consiste nel garantire che la variabile sia definita prima dell’utilizzo. Verifica riproducendo l’errore aprendo un file CSV con Atom e facendo clic su 'Open Table Editor'.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript
- Ambito
- cli, desktop
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Specificata chiaramente
- Idoneità per principianti
- 45/100