ashthespy / Atom-LaTeX

The only LaTeX package you need for typesetting with Atom.
https://atom.io/packages/atom-latex
MIT License
22 stars 9 forks source link

Uncaught TypeError: Array.prototype.indexOf called on null or undefined #210

Closed martinlibo closed 5 years ago

martinlibo commented 5 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.39.1 x64 Electron: 3.1.10 OS: Microsoft Windows 10 Pro Thrown From: atom-latex package 0.8.8

Stack Trace

Uncaught TypeError: Array.prototype.indexOf called on null or undefined

At C:\Users\LbHar\.atom\packages\atom-latex\lib\builder.coffee:37

TypeError: Array.prototype.indexOf called on null or undefined
    at indexOf (<anonymous>)
    at Builder.module.exports.Builder.saveonBuild (/packages/atom-latex/lib/builder.coffee:37:34)
    at Builder.module.exports.Builder.build (/packages/atom-latex/lib/builder.coffee:19:18)
    at /packages/atom-latex/lib/main.coffee:33:48)
    at CommandRegistry.handleCommandEvent (~/AppData/Local/atom/app-1.39.1/resources/app/static/<embedded>:11:348736)
    at CommandRegistry.dispatch (~/AppData/Local/atom/app-1.39.1/resources/app/static/<embedded>:11:347211)
    at AtomEnvironment.dispatchApplicationMenuCommand (~/AppData/Local/atom/app-1.39.1/resources/app/static/<embedded>:1:743373)
    at EventEmitter.t (~/AppData/Local/atom/app-1.39.1/resources/app/static/<embedded>:1:751296)
    at EventEmitter.emit (events.js:182:13)

Commands

     -0:15.6.0 atom-latex:build (input.hidden-input)

Non-Core Packages

atom-beautify 0.33.4 
atom-latex 0.8.8 
atom-material-syntax 1.0.8 
atom-material-ui 2.1.3 
atom-monokai 0.10.9 
dictionary 0.5.0 
language-fortran 2.1.8 
latexer 0.3.0 
latextools 0.8.5 
linter-python-pep8 0.2.0 
MagicPython 1.1.1 
markdown-pdf 2.2.0 
markdown-preview-enhanced 0.16.3 
merge-conflicts 1.4.5 
minimap 4.29.9 
monokai 0.24.0 
open-recent 5.0.0 
pdf-view 0.71.0 
python-indent 1.2.3 
tabs-to-spaces 1.0.5 
todo-show 2.3.2 
ashthespy commented 5 years ago

Seems to be the same as https://github.com/ashthespy/Atom-LaTeX/issues/187 could you try give me more info (https://github.com/ashthespy/Atom-LaTeX/issues/187#issuecomment-494430081) and post it in that issue?