Open Nathan-Furnal opened 4 years ago
Same issue:
Atom: 1.40.1 x64 Electron: 3.1.10 OS: Linux Mint Thrown From: markdown-preview-enhanced package 0.16.3
Uncaught TypeError: Cannot read property '1' of null
At /home/wcork/.atom/packages/markdown-preview-enhanced/node_modules/@shd101wyy/mume/out/src/pdf.js:47
TypeError: Cannot read property '1' of null
at items.sort (/packages/markdown-preview-enhanced/node_modules/@shd101wyy/mume/out/src/pdf.js:47:74)
at Array.sort (native)
at fs.readdir (/packages/markdown-preview-enhanced/node_modules/@shd101wyy/mume/out/src/pdf.js:46:35)
at FSReqWrap.oncomplete (fs.js:169:20)
-1:00.4.0 core:confirm (input.hidden-input)
-1:00.0 latex:show-log (webview.)
-0:56.7.0 command-palette:toggle (atom-pane.pane)
3x -0:55 core:backspace (input.hidden-input)
-0:51.4.0 core:confirm (input.hidden-input)
-0:51.4.0 command-palette:toggle (atom-pane.pane)
-0:45.3.0 core:move-down (input.hidden-input)
-0:45.1.0 core:confirm (input.hidden-input)
-0:45.1.0 command-palette:show-hidden-commands (atom-pane.pane)
2x -0:43.4.0 command-palette:toggle (input.hidden-input)
-0:41.5.0 editor:consolidate-selections (input.hidden-input)
-0:41.5.0 core:cancel (input.hidden-input)
-0:23.1.0 command-palette:toggle (input.hidden-input)
-0:13.7.0 core:move-down (input.hidden-input)
-0:11.5.0 editor:consolidate-selections (input.hidden-input)
-0:11.5.0 core:cancel (input.hidden-input)
atom-latex 0.8.11
latex 0.50.2
markdown-preview-enhanced 0.16.3
omni-ruler 0.6.0
An interesting fix for this:
Delete the assets
folder of the project to allow building from pandoc again.
@wcork thanks for the fix, do you have to do that often ?
Hi, when I'm trying to use pandoc it's all fine but when I'm adding latex files or python plots, though the preview works ; pandoc throws an error and doesn't convert to PDF.
[Enter steps to reproduce:]
Atom: 1.40.0 x64 Electron: 3.1.10 OS: Ubuntu 19.04 Thrown From: markdown-preview-enhanced package 0.16.3
Stack Trace
Uncaught TypeError: Cannot read property '1' of null
Commands
Non-Core Packages