Try Catch Yarn Function Conflicting with Yarn (Java Package)
See original GitHub issueIf you have Hadoop installed and run create-react-app
, the try catch function calls the yarn java package and returns an error:
Error: Could not find or load main class add
yarn add --dev --exact react-scripts
failed
The npm fallback function never gets called.
Issue Analytics
- State:
- Created 7 years ago
- Comments:16 (9 by maintainers)
Top Results From Across the Web
java | Yarn - Package Manager
Try running `node findJavaHome.js` in the node-java directory to see the full failure message. ... Installation OSX. If you run into strange runtime...
Read more >jackson/guava jar conflict when run spark on yarn
Few things I would suggest for you. First you should create a fat jar for your project. If you are using Maven just...
Read more >Typescript: Working with Paths, Packages and Yarn Workspaces
Understanding packages is understanding modularity. We are all accustomed to working with packages as Javascript developers, installing and importing ...
Read more >yarn.nodemanager.log-dirs - Apache Hadoop
Factory to create client IPC classes. yarn.ipc.client.factory.class Factory ... 10 Timeout in milliseconds when YARN dispatcher tries to drain the events.
Read more >Control flow and error handling - JavaScript - MDN Web Docs
(In C or Java, the equivalent code would have output 1 .) ... If any statement within the try block (or in a...
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
Yarn is also available through the
yarnpkg
command (https://github.com/yarnpkg/yarn/commit/cefa9a368dd3df1a1f1ecd9e50de9c5fabefbc92). I wonder if we should simply make the installation use theyarnpkg
alias instead ofyarn
. It seems that this would be more reliable, and also allow people who have Hadoop installed use Create React App with Yarn.Success! Thanks for being so responsive. Keep up the good work.