Skip to content
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

Installation with Yarn Global do NOT create polymer symlink to binaries in yarn <prefix>/bin folder #2515

Closed
CICCIOSGAMINO opened this issue Aug 28, 2017 · 3 comments

Comments

@CICCIOSGAMINO
Copy link

Description

Installation with Yarn Global do NOT create polymer symlink to binary in yarn/$prefix/bin folder ... so the installation process create all the symlinks of the dependencies packages of polymer-cli in the yarn symlinks directory :

yarn config get prefix
> ~/.yarn-global

but not the most important polymer symlinks to binary, so i have these two negative features :

  • Get all the package dependencies symlinks to binary that i'm not sure if it's right ! Because i need to handle the version already installed and the version needed for polymer environment!

  • I can't use the polymer command !

Versions & Environment

Steps to Reproduce

# set yarn config prefix 
yarn config set  <your-path-for-yarn-symlinks>
yarn global add polymer-cli

# dig into yarn config folder (where modules are)
cd ~/.config/yarn/global
# dig into yarn symlinks to binaries folder 
cd <your-path-for-yarn-symlinks>

Previous Issue

#859 Solved from @usergenic

@justinfagnani
Copy link
Contributor

This seems to be a long-standing issue with yarn global add, that people are still experiencing despite them closing the issue: yarnpkg/yarn#648

I still use npm to install global packages.

@justinfagnani
Copy link
Contributor

I'm going to close this, simply because this is a problem with using yarn for any global installation, nothing specific to polymer-cli. I'll open a new issue to change the install instructions to use npm.

@CICCIOSGAMINO
Copy link
Author

Thanks so i'll switch on Yarn issues ...

@aomarks aomarks transferred this issue from Polymer/polymer-cli Jan 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants