-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Description
When using the plain node:8 or node:9 docker using npm install -g yarn no longer works. There is some kind of left over link in /usr/local/bin/yarn but no complete yarn install. So you get an error
npm ERR! path /usr/local/bin/yarnpkg
npm ERR! code EEXIST
npm ERR! Refusing to delete /usr/local/bin/yarnpkg: /opt/yarn/bin/yarn symlink target is not controlled by npm /usr/local/bin
npm ERR! File exists: /usr/local/bin/yarnpkg
npm ERR! Move it away, and try again.
But executing
if which yarn; then
echo "Yarn is installed!"
else
echo "Yarn is not installed :-("
fi
shows yarn is not installed.
Thanks
Andy
kylecordes, alub, MichaelRBond, maeb, navarroaxel and 5 more
Metadata
Metadata
Assignees
Labels
No labels