Comments (9)
Did you install the perquisite?
$ sudo apt-get install graphicsmagick # Ubuntu
$ brew install graphicsmagick # Mac OS X
from image-to-ascii.
Is it happening for all the images or for a specific image only? If it's the later, can you please upload the image?
from image-to-ascii.
Shouldn't the lwip
fallback prevent this?
from image-to-ascii.
@m59peacemaker It should the lwip
fallback should prevent the spawn error (ENOENT command not found ...
, or so). It's very hard to tell why does this problem appear at all, because we have no example when it fails like that.
The OP seems to have GraphicsMagick already installed.
Did it happen to you as well?
from image-to-ascii.
I did originally get the same error as the OP. I'm not sure whether I had graphicsmagick installed, but I thought I didn't and so went ahead installed it without checking first (oops). The same error remained. I just purged graphicsmagick and reinstalled image-to-ascii
globally, now the error is simply error spawn gm ENOENT
. I was just checking out the package. I don't have a stake in getting it working, but I hope my notes help.
from image-to-ascii.
@m59peacemaker Thanks for that! I will look into that error when getting a little bit of time. Sounds like lwip
is not used...
from image-to-ascii.
I reproduced this error on my machine. I'm on it.
from image-to-ascii.
@m59peacemaker @abdennour For my information—did you receive any errors during the installation?
You can double-check by running rm -rf node_mdoules && npm install
from image-to-ascii.
The installation should fail if lwip
fails to be installed.
Addressed in IonicaBizau/lwip2#16.
The reason for the error was: in case gm
is not available, lwip
is installed (and compiled). In case the required tools for compilation are missing (e.g. XCode or so), lwip
installation was failing silently. Now that error should block the image-to-ascii
installation. 💥
from image-to-ascii.
Related Issues (20)
- Size of Screen printed HOT 5
- how to save the output for a later use (without the lib needs) HOT 2
- Can't install on windows due to install bug in lwipify HOT 3
- You are awesome. HOT 1
- Getting ascii escape codes for each color HOT 1
- ERROR when I npm install HOT 3
- [WINDOWS] INSTALL ERROR HOT 1
- Stream version? HOT 7
- security issues HOT 3
- couldn't install in windows HOT 2
- 256 colors HOT 3
- Promise support HOT 4
- Broken due to lwip installation issues HOT 2
- Using local file? HOT 1
- [Windows] Install error HOT 1
- package broken.
- Error: Stream yields empty buffer HOT 3
- Benchmarks HOT 1
- Library keeps trying to install lwip into my system. HOT 2
- No Color Example Got Error
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 image-to-ascii.