Closed antonbrams closed 7 years ago
Could you provide some more details as to your workflow? I can't seem to reproduce this error. Does it occur when you have multiple projects open?
i've just downloaded the plugin, opened the .tex file and run "build" it from the command palette :)
I just did some testing, I can't reproduce this error in my workflow, but running the package specs returns the same errors:
Atom-LaTeX
Builder
::build
it should execute all commands sequentially
TypeError: Cannot read property 'view' of undefined
at Builder.module.exports.Builder.build (file:///C:/Users/dev/.atom/dev/packages/Atom-LaTeX/lib/builder.coffee:21:26)
at .<anonymous> (file:///C:/Users/Ash/.atom/dev/packages/atom-latex/spec/main-spec.coffee:144:27)
it should open preview when ready if enabled
TypeError: Cannot read property 'view' of undefined
at Builder.module.exports.Builder.build (file:///C:/Users/dev/.atom/dev/packages/Atom-LaTeX/lib/builder.coffee:21:26)
at .<anonymous> (file:///C:/Users/Ash/.atom/dev/packages/atom-latex/spec/main-spec.coffee:155:27)
Finished in 3.626 seconds
13 tests, 24 assertions, 2 failures, 0 skipped
Any ideas @James-Yu ? 😕
Updated the specs to load the status-bar
package (f13c1489c6ca4d5d3fb965f2c7ca04ac21142e4e) and all is good.
@antonkluev: Do you still face this error after the first installation of the plugin? (i.e restarting Atom after the plugin first installs?)
Closing this - reopen if you feel the need!
[Enter steps to reproduce:]
Atom: 1.16.0 x64 Electron: 1.3.13 OS: Mac OS X 10.12.4 Thrown From: atom-latex package 0.7.6
Stack Trace
Uncaught TypeError: Cannot read property 'view' of undefined
Commands
Non-Core Packages