Dependency issue installing via Yarn
See original GitHub issueI have no issues when installing via NPM, but with Yarn I get:
$ yarn add react-simple-img@beta
yarn add v0.24.5
warning pano_moments@1.0.0: No license field
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning "react-simple-img@1.3.6-beta.1" has incorrect peer dependency "react@>=15.6.1".
warning "react-simple-img@1.3.6-beta.1" has incorrect peer dependency "react-dom @>= 15.6.1".
warning "react-simple-img@1.3.6-beta.1" has unmet peer dependency "prop-types@^1 5.6.0".
warning "react-simple-animate@1.9.0" has incorrect peer dependency "react@>= 15. 6.1".
warning "react-simple-animate@1.9.0" has incorrect peer dependency "react-dom@>= 15.6.1".
[4/4] Building fresh packages...
success Saved 0 new dependencies.
warning pano_moments@1.0.0: No license field
Done in 15.37s.
Which results in this error:
Error: Cannot find module 'prop-types'
Issue Analytics
- State:
- Created 5 years ago
- Comments:12 (6 by maintainers)
Top Results From Across the Web
yarn install
yarn install is used to install all dependencies for a project. This is most commonly used when you have just checked out code...
Read more >Yarn doesn't install dependencies properly · Issue #8484
Clone the repo · Open the repo in a terminal · Try to install dependencies via yarn.
Read more >How to install all the dependency package in yarn?
bin" in "Edit the system environment variables" -> Environment Variables -> Under System Variables select PATH-> click New -> Add the above path...
Read more >Yarn install
The yarn install command is a command that is used to install all dependencies for a project. It is commonly used when you...
Read more >How to Install Yarn on Linux, macOS, and Windows
Learn how to install yarn using NPM and cURL on MacOS and Linux as well as using ... and security issues with earlier...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Just upgraded to 1.3.7 and looking good so far. Thanks!
Cool, will try to give this a try tomorrow.