Yarn 1.0.0 has moved it's executable path from yarn/dist/bin/yarn to yarn/yarn-<version>/bin/yarn
See original GitHub issueDo you want to request a feature or report a bug? Bug
What is the current behavior?
Fails to execute. target/node/yarn/dist/bin/yarn
doesn’t exist and the following maven error appears.
Cannot run program "target/node/yarn/dist/bin/yarn" (in directory "src/main/webapp"): error=2, No such file or directory
If the current behavior is a bug, please provide the steps to reproduce.
- Set
yarnVersion
tov1.0.0
in configuration - Run
yarn
goal - Inspect
target/node/yarn
directory fordist/bin/yarn
- Instead find
bin/yarn
What is the expected behavior?
Runs yarn
executable correctly (maybe through user config or version matching).
Please mention your frontend-maven-plugin and operating system version. Plugin version: 1.3 Linux Mint 18.3
Issue Analytics
- State:
- Created 6 years ago
- Reactions:21
- Comments:20 (10 by maintainers)
Top Results From Across the Web
Installation | Yarn
Before you start using Yarn, you'll first need to install it on your system. There are many different ways to install Yarn, but...
Read more >React Native Error - yarn' is not recognized as an internal or ...
I faced the same issue and it got resolved by below command npm install -g yarn.
Read more >Yarn: A package manager for Node.js - Pluralsight
These package managers automate the process of installing and managing libraries and dependencies. In Node.js, we have npm as the default ...
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
Ok, I finally got time to release it now! I just had to tweak some environment variables related to som TTY in order to make the GPG sign command work. Should be synced to Central soon.
it does not seem to work for me still, I am using version 1.6 of the plugin