-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Global binaries don't install on Fedora 24 #1371
Comments
Can confirm similar behavior in Windows 10, version 1607. I'm using node 4.5.0, along with yarn 0.16.0.
|
Interesting... Two issues I see here:
I think running Does "dnf install yarn" use our package repo? I'm not very familiar with Fedora, but it looks like |
Does not. I'm not using Fedora though, I'm using ArchLinux and installed
Naturally, the first time I tried to install without
Why
I'm wondering why not simply use |
Relevant issue #648 |
I get the same permission error In Window 10 when |
@Daniel15 In any case, ~> cat ~/.npmrc
prefix = /home/my-local-user/.node/bin |
Adding |
Similar issue on macOS, I use nvm for my node environment. When I install a new version of node then btw I use The information as follow
|
Similar issue. I use macOS. I use homebrew to install node and yarn.
I could solve this problem temporary by adding |
Shouldn't this be marked as dupe of #1194? |
This issue is solved now in For example I have achieved to install ~> sudo dnf install yarn
~> yarn version
0.19.1
~> cat ~/.npmrc
prefix=/home/joseluis/.node
~> yarn config get prefix
/home/joseluis/.node
~> yarn global bin
/home/joseluis/.node/bin
~> yarn global add surge
yarn global v0.19.1
warning No license field
[1/4] Resolving packages...
warning surge > fstream-ignore > [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
warning surge > request > [email protected]: use uuid module instead
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Installed "[email protected]" with binaries:
- surge
warning No license field
Done in 3.04s.
~> surge --version
0.18.0 Yarn reads the prefix path in ~> npm config get prefix
/home/joseluis/.node
~> yarn config get prefix
/home/joseluis/.node Deleting prefix... (for testing only) ~> sed -i '/prefix=/d' ~/.npmrc
~> npm config get prefix
/usr
~> yarn config get prefix
undefined |
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Global packages installation doesn't work.
If the current behavior is a bug, please provide the steps to reproduce.
I installed
yarn
package viasudo dnf install yarn
What is the expected behavior?
Global binaries sould be executable.
Please mention your node.js, yarn and operating system version.
The text was updated successfully, but these errors were encountered: