Skip to content

Migrate from NPM to YARN

Aurélien Ooms edited this page Aug 19, 2018 · 1 revision

Recurrent symptom:

TypeError: log.gauge.isEnabled is not a function

Uninstall npm and yarn

pacman -R npm semver node-gyp yarn

Remove config files and installed packages

rm -rf /usr/lib/node_modules /usr/local/share/.config/yarn /usr/local/share/.yarnrc

Install npm and yarn

pacman -S npm yarn

Install node modules

up -i

Just to be on the safe side

up -a
Clone this wiki locally