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.

Yarn 1.0.0 has moved it's executable path from yarn/dist/bin/yarn to yarn/yarn-<version>/bin/yarn

See original GitHub issue

Do 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.

  1. Set yarnVersion to v1.0.0 in configuration
  2. Run yarn goal
  3. Inspect target/node/yarn directory for dist/bin/yarn
  4. 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:closed
  • Created 6 years ago
  • Reactions:21
  • Comments:20 (10 by maintainers)

github_iconTop GitHub Comments

5reactions
eirslettcommented, Sep 22, 2017

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.

4reactions
crashnick16commented, Nov 29, 2018

it does not seem to work for me still, I am using version 1.6 of the plugin

Read more comments on GitHub >

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

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