Comments (4)
Hi @Mihailoff I haven't tried to reproduce your error but it looks like you're missing one or more of the requirements.
If you run npm install
you're supposed to get the es2015
preset from here.
Also don't forget to install babel-cli globally by running npm install babel-cli -g
from gitlogg.
OK, I've reproduced and resolved your error by doing the following steps:
nvm install v4.4.3
- which both installed and activated the node version you're using.- Clone the repo on
<new-folder>
. I did it onDesktop
. - Given you're on
<new-folder>
,cd gitlogg/gitlogg/
./gitlogg.sh
- Error:
gitlogg-generate-log.sh: line 56: babel: command not found
- Install
npm install babel-cli -g
(to make it available globally in the newly installednode
version) ./gitlogg.sh
Error: Couldn't find preset "es2015" relative to directory "/Users/Wallace/Desktop/gitlogg"
That's the state you're in. To resolve the error, make sure you're at the repo's root. From my current location, I did:
cd ../
npm install
cd gitlogg/
./gitlogg.sh
- Profit! โจ
I'm taking the liberty to close the issue, since the solution is written above. As stated, what you need is to run npm install
at the root of your clone/fork, cd
to gitlogg folder and run the shell script again. ๐
from gitlogg.
Thank you, looks like I've missed 3rd step from https://github.com/dreamyguy/gitlogg#requirements
Now works.
from gitlogg.
I'm glad to hear that @Mihailoff, have fun!
from gitlogg.
Related Issues (15)
- tail -r does not exists anymore HOT 2
- Better error handling when path to repository folders doesn't exist HOT 1
- Replace `ยง` with a character that's nearly never used HOT 1
- Git notes HOT 2
- yourpath should be set in gitlogg-generate-log.sh HOT 1
- Gitlogg is broken for some repositories HOT 21
- Parse JSON through a read/write stream, so we get around the 268MB string size limitation HOT 1
- sed: RE error: illegal byte sequence HOT 1
- Refactor gitlogg.sh HOT 3
- Remove mysterious replacing of `\n` with `รฒ` HOT 2
- Check if directories passed to script are git repos before attempting to run
- The JSON parser is outputting the git log of the repo it's running on, under each repo
- FR: Allow universal run path for primary script
- Parsing Issue 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 gitlogg.