Giter Club home page Giter Club logo

Comments (4)

dreamyguy avatar dreamyguy commented on June 3, 2024

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.

dreamyguy avatar dreamyguy commented on June 3, 2024

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 on Desktop.
  • 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 installed node 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.

Mihailoff avatar Mihailoff commented on June 3, 2024

Thank you, looks like I've missed 3rd step from https://github.com/dreamyguy/gitlogg#requirements

Now works.

from gitlogg.

dreamyguy avatar dreamyguy commented on June 3, 2024

I'm glad to hear that @Mihailoff, have fun!

from gitlogg.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.