Comments (7)
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.
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.
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.
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.
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.
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.
Great, thanks for your explanation.
Will close this issue for now.
from react-pdf.
Related Issues (20)
- renderToStream: NodeJS.ReadableStream will not complete, end event will not fire. HOT 4
- svg strokeLinecap type is wrong
- Multiple fonts not working HOT 2
- LinearGradient Component does not allow for selecting gradient direction with x1, y1, and x2, y2
- [Fonts] Font family Times New Roman is not display, not work
- react-pdf isn't working in NextJS, getting "Module parse failed: Unexpected character '�'" error
- Does not render U+00B7 special character (∙)
- Bookmark in Pdf
- is it possible to present a table example? HOT 1
- Text stroke not working
- remaining margin/padding bottom should be removed on new page
- Nested text styling does not work on Windows HOT 3
- minHeight causes overlapping with fixed elements
- Copied Quickstart but kept getting this error: Cannot redefine property: BlobProvider
- 3.4.4 font changes no longer apply HOT 9
- showToolBar prop doesn't work as intended on FireFox, the toolbar is still being shown
- Conditional render if page is about to break
- Unknown version
- Text overflows vertically when trying to render tables HOT 1
- React-PDF does not work anywhere on Next.JS HOT 1
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 react-pdf.