Comments (11)
When you say "I cannot create a new PDF with My own *.pug" what error(s) do you get?
from relaxed.
I try the https://github.com/RelaxedJS/ReLaXed#getting-started Demo
❯ relaxed dd.pug
Watching dd.pug and its directory tree.
Processing detected change in /dd.pug...
File load error: file:///***/n/lib/node_modules/relaxedjs/node_modules/mathjax/unpacked/jax/output/SVG/jax.js
File load error: file:///***/n/lib/node_modules/relaxedjs/node_modules/mathjax/unpacked/jax/output/SVG/fonts/TeX/fontdata.js
File load error: file:///***/n/lib/node_modules/relaxedjs/node_modules/mathjax/unpacked/jax/input/AsciiMath/jax.js
File load error
from relaxed.
Ah, sorry I misunderstood :)
What version of node/npm are you using?
from relaxed.
~
❯ node -v
v9.6.1
~
❯ npm -v
6.0.0
from relaxed.
That's strange, what is the contents of your dd.pug?
from relaxed.
Just Copy
h1 My document's title
p A paragraph in my document
from relaxed.
Just to check, you installed using npm i -g relaxedjs
without using sudo?
I'm a bit stumped, that error seems to be coming from mathjax itself
from relaxed.
My node install by https://github.com/tj/n
node install Dont need the sudo
May be I try use the sudo node try again
from relaxed.
So weird
Try one:
cd $HOME
sudo/no relaxed dd.pug
❌
Try two:
where relaxed
cd relaxed PATH
sudo/no node src/index.js dd.pug
✅
from relaxed.
Did you use sudo? sudo should not be used to install or use node packages.
from relaxed.
sudo/no
is say : I use sudo
and no use
both
from relaxed.
Related Issues (20)
- ReLaXed doesn't work on WSL HOT 5
- this._initPDFReader is not a function and ERR_FILE_NOT_FOUND with masterToPDF HOT 3
- masterToPDF fails on second run HOT 1
- Add support for running ReLaXed directly in NodeJS, without CLI HOT 8
- Passing JSON object to ReLaXed: wiki needs to be updated! HOT 5
- Documentation for 'headElements' says 'htmlHead' HOT 1
- Implementation of Knuth & Plass Algorithm
- [Question] Only last page footer text is showing with color. Other page footer text is existing but transparent. HOT 2
- Load JSON and listen to changes? HOT 3
- Using relaxedjs as a node module in AWS and run once HOT 2
- Vegalite SVG render broken HOT 6
- Hj
- Failed to install Relaxed on Ubuntu18.04 on EC2 HOT 1
- How to make pdf pages in horizontal orientation? HOT 1
- Any Ideas for better Debugging Support in the Browser? HOT 4
- Fix security vulnerabilities HOT 1
- Is relaxedjs still under active development? HOT 6
- Math Typeface Not Rendering Properly HOT 1
- Unable to use ReLaXed with Node v16 HOT 3
- Please publish current version (0.2.5) to npmjs.com HOT 1
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 relaxed.