Git Product home page Git Product logo

Comments (7)

steric85 avatar steric85 commented on May 11, 2024 2

Thanks a lot! 😄
I had downloaded instead of cloning the repository.
I tried yarn install and yarn example -- fractals after cloning the repository. The code is running successfully without any errors!

from react-pdf.

diegomura avatar diegomura commented on May 11, 2024

Hi @shravya95 !
You don't have to install each package separately.

Try running yarn install in the root of the project, and then run the test. That should work.

The project has a postinstall script that runs lerna bootstrap. What that command does is installing each package dependencies, and linking them together.

from react-pdf.

steric85 avatar steric85 commented on May 11, 2024

Hey @diegomura ,
I tried running yarn install in the root of the project. I am getting the following error:

yarn install v0.24.6
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
[3/4] 🔗 Linking dependencies...
[4/4] 📃 Building fresh packages...
$ lerna bootstrap
Lerna v2.0.0-rc.3
This is not a git repository, did you already run git init or lerna init ?
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

How shall I proceed?

from react-pdf.

diegomura avatar diegomura commented on May 11, 2024

Are you sure you are running yarn install in the root of the project? That's odd...
Can you give me more info of your environment? such as node version, OS, etc

from react-pdf.

steric85 avatar steric85 commented on May 11, 2024

Yes, I am running the command in the root folder.

Environment Information:
node version : 6.10.3
npm version : 4.2.0
OS : macOS Sierra (10.12.5)
What other details are required?

from react-pdf.

diegomura avatar diegomura commented on May 11, 2024

It seems that or you have an issue with your git installation, or somehow your clone version of the project it's not a git repository.

Fails here: https://github.com/lerna/lerna/blob/36a6501fcd5856e8b6291b71fa251c53aa939a33/src/Command.js#L182

Check if the .git folder is in the repo, or check your git installation.

from react-pdf.

jbovenschen avatar jbovenschen commented on May 11, 2024

Great, thanks for your explanation.
Will close this issue for now.

from react-pdf.

Related Issues (20)

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.