Comments (11)
What is the version of node.js that you use?
node -v
from terminalizer.
You probably have a very outdated version of Node far past the official current LTS release, which is 8.x.x
.
Most (somewhat outdated) distributions won't come with the current version of Node in their repositories, to give an idea, Ubuntu 16.04 currently comes with Nodejs 4.2.6
and support for the ES let
and const
bindings were added around the start of version 6 of Node.
Same concept probably applies to CentOS.
If you want to get a more up to date version of Node, I suggest you check out https://github.com/nodesource/distributions#rpminstall for an easy installation process.
To give an idea, you might want to do this :
# Remove currently installed node (package can also be called nodejs in case)
sudo rpm -e node
# Get current LTS
curl -sL https://rpm.nodesource.com/setup_8.x | bash -
And what you were trying to do should work.
from terminalizer.
Hi Kevin,
Thanks for the response. I installed node 10 last week, as node 8 was not available. I then got this error:
Error:
/usr/lib/node_modules/terminalizer/node_modules/electron/dist/electron: error while loading shared libraries: libgtk-3.so.0: cannot open shared object file: No such file or directory
Do you have a workaround for this? The only package on CentOS 6.9 with libgtk-3.so in it is Firefox.
from terminalizer.
The closest pointer I could give you is this http://itvision.altervista.org/compiling-and-installing-gtk3-in-centos6.html
edit: also i'd personally be a bit wary of this source to be honest at the sight of it
Another option would be to upgrade to Centos7 if viable, it comes with gtk3 support (and systemd).
Also may I ask you what desktop environment you are currently running currently ?
from terminalizer.
I heard about terminalizer through a newsletter email that Twilio sent out, and thought it was pretty awesome. I'm realizing that it requires or assumes that I have a desktop environment. This is a dev server i'm installing terminalizer on. I wanted to use the gifs as short tutorials for my dev team. I have image libraries on our web servers, so I assumed this would render a gif, and I could sent it off to my team via link or even the slack API. Maybe not though. :)
from terminalizer.
Best alternative I can give without a DE is asciinema, Centos probably has it available in its repositories.
What you can do is record your cast, upload it to the website, then take the link it gives you and append .gif
to it.
For instance :
https://asciinema.org/a/170671
becomes
https://asciinema.org/a/170671.gif
And you will be show a page with a docker (so it implies you also have docker installed) command to create a gif of this cast.
The command looks like this (taken from the page above):
docker run --rm -v $PWD:/data asciinema/asciicast2gif https://asciinema.org/a/170671.json demo.gif
It's a nice little trick that works without a DE.
from terminalizer.
Thanks Kevin, I'll check that out. Appreciate the help!
from terminalizer.
Yes it doesn't support os without GUI for now. Terminalizer is still under development so there are a lot of enhancements we are doing.
Should I close the issue?
from terminalizer.
Yes, you can close. Thanks Mohammad. I'll keep an eye out for updates.
from terminalizer.
@faressoft you might want to add a requirements section to the README to keep people aware.
from terminalizer.
We are waiting Electron to release the feature that allows us to use it without GUI
electron/electron#228
from terminalizer.
Related Issues (20)
- "Error: Something went wrong, try again later" caused by nginx redirect HOT 3
- "TypeError: Cannot read property 'join' of undefined" on sharing error
- Can't render HOT 1
- --config does not accept .yaml
- Error "Failed to connect to the bus" when trying to render HOT 1
- Question: Omitting username and current location
- cannot render gif HOT 7
- Libva error HOT 1
- terminalizer needs dbus to render a gif?
- [Website] You can put any characters as your username, and that causes issues with certain characters. HOT 1
- Error when running render HOT 1
- Increasing fontsize leads to weird GIF HOT 1
- global configuration should be in .config/ not in home HOT 1
- No content frame rendering
- Dockerfile
- Render not using temporary directory HOT 1
- docs: Nyan cat link is broken HOT 1
- Trying to build binaries using pkg
- Too long recordings cannot be shared
- Still having problem for zsh
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 terminalizer.