无法升级feather CLI

问题描述 投票:0回答:1

我极力尝试将feathers CLI从3.9升级到4.x +

npm remove -g @feathersjs/cli  <-- even after doing this I still can use feathersCLI? (feathers -V)
npm install -g @feathersjs/cli  <-- should install latest
feathers -V <--- 3.9 ?!

我如何手动将其删除?

Os:Mac OS

feathersjs
1个回答
0
投票

好,必须手动执行。我必须自己更改配置]

 nano ~/.config/yarn/global/package.json <- add the package here using nano or any other text editor

 yarn global add <- to update everything
© www.soinside.com 2019 - 2024. All rights reserved.