question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Dependency issue installing via Yarn

See original GitHub issue

I 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:closed
  • Created 5 years ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
dustinkersteincommented, May 3, 2018

Just upgraded to 1.3.7 and looking good so far. Thanks!

1reaction
dustinkersteincommented, Apr 26, 2018

Cool, will try to give this a try tomorrow.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found