Comments (4)
A similar issue here:
Atom Version: 0.186.0
System: linux 3.14.9-200.fc20.x86_64
Thrown From: pdf-view package, v0.17.0
Stack Trace
Uncaught SyntaxError: /home/gregor/.atom/packages/pdf-view/node_modules/pdf.js/build/generic/build/pdf.js:26
PDFJS.build = 'fatal: Not a git repository (or any parent up to mount point /h
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Unexpected token ILLEGAL
At /home/gregor/.atom/packages/pdf-view/node_modules/pdf.js/build/generic/build/pdf.js:26
/home/gregor/.atom/packages/pdf-view/node_modules/pdf.js/build/generic/build/pdf.js:26
PDFJS.build = 'fatal: Not a git repository (or any parent up to mount point /h
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Unexpected token ILLEGAL
at exports.runInThisContext (vm.js:75:16)
at Module._compile (module.js:458:25)
at Object.loadFile [as .js] (/usr/share/atom/resources/app/src/babel.js:162:21)
at Module.load (module.js:370:32)
at Function.Module._load (module.js:325:12)
at Module.require (module.js:380:17)
at require (module.js:399:17)
at Object.<anonymous> (/home/gregor/.atom/packages/pdf-view/lib/pdf-editor-view.coffee:12:3)
at Object.<anonymous> (/home/gregor/.atom/packages/pdf-view/lib/pdf-editor-view.coffee:340:4)
at Module._compile (module.js:475:26)
Installed Packages
# User
file-icons, v1.5.0
language-latex, v0.4.1
pdf-view, v0.17.0
vim-mode, v0.36.0
# Dev
No dev packages
The following code from #31 did not resolve the issue.
cd .atom/packages/pdf-view/
rm -rf node_modules
apm install .
from atom-pdf-view.
it works!!!!!
with the last code
cd .atom/packages/pdf-view/
rm -rf node_modules
apm install .
but before to do that i have to change my python version from my arch linux
export PYTHON=/usr/bin/python2
from atom-pdf-view.
Yeah, see #46 and #31 for similar reports.
from atom-pdf-view.
I use Manjaro and atom 0.190.0, I change my python version to python 2 but the error persist.
Any ideas?
Thanks!
from atom-pdf-view.
Related Issues (20)
- Suggestion: Allow text highlighting HOT 2
- Canγ
- excessive memory usage HOT 8
- Window does not close HOT 4
- Fixing Zoom
- [LaTeX] Error: Command failed: 'pdflatex -file-line-error -interaction=batchmode -recorder -synctex=1 shell -escape HOT 4
- Provide generic control service HOT 1
- Night mode won't turn off
- pdf is not PDF
- LaTeX math widehat displays offset HOT 1
- Enhancement: Add keybinding to toggle night-mode on and off
- Uncaught TypeError: Cannot read property 'sendWithPromise' of null
- Feature request: Night mode switches with system dark mode HOT 2
- Blank PDF view pane HOT 44
- PDF not showing HOT 4
- Pdf invisible after first viewing HOT 1
- ISSUE with pdf-view HOT 1
- Memory overuse: No deallocating space in RAM
- HTMLDocument.registerElement is deprecated. HOT 6
- deprecation warning in Pulsar
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from atom-pdf-view.