- install-yarn-npm.sh
Created
October 3, 2019 20:35
-
-
Save Telematica/491e744cb0188894d7bb8a5c26ade681 to your computer and use it in GitHub Desktop.
Node Tricks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#You might be able to install Yarn locally with | |
npm i -S yarn | |
# and then add it to your path SET PATH=%PATH%;c:\to\your\project\node_modules\.bin\yarn | |
# Now in the same terminal window you can use it with yarn install ... | |
npm bin -g | |
# Execute npm bin -g which will print the folder name where npm installs executables and add that folder to your path. | |
# Restart the command prompt/powershell and it should work. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment