Comments (2)
This is probably a phantomjs issue, see: #14
from svgexport.
hit the same problem.
If I supply an input of '...icons/node/Blah 1.svg'
then in index.js code...
if (!Array.isArray(input)) {
input = input.split(/\s+/);
}
will convert my file path of one file into an array of two strings:
['...icons/node/Blah', '1.svg']
Subsequently the
input[0] = path.resolve(cwd, input[0]);
etc fails as the file does not exist.
from svgexport.
Related Issues (20)
- Node.js render example
- Relative and `file://` imports with <image src> don't work HOT 1
- Error: Failed to launch the browser process! HOT 2
- Error on install because of puppeteer issue (with fix) HOT 4
- Error: Unable to load file (TimeoutError: Navigation timeout of 30000 ms exceeded)
- Throws error when filepath contains '#'
- Any way to use external css files?
- How to modify fonts
- Error: Evaluation failed: TypeError: el.getBBox is not a function HOT 1
- Amazon Linux "Error: Failed to launch the browser process!" HOT 1
- Chinese display problem HOT 1
- Puppeteer does not render <svg><use xlink:href>
- Installed on ubuntu server 2004 (on raspberry pi) cannot run HOT 1
- Can be used directly? HOT 1
- Target Closed HOT 1
- Protocol error: Unable to capture screenshot HOT 6
- Publish a new release of svgexport to npm HOT 3
- awaiting `svgexport.render` resolves before output file is added to filesystem HOT 1
- Support for decimal numbers in viewBox HOT 5
- Wrong image exporting HOT 2
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 svgexport.