This might actually more npm/node than just an EmberJS question.
Simply speaking I ran npm install -g ember-cli
. However, when I check the version using ember --version
, it shows me
ember-cli: 3.10.1
node: 18.18.2
os: darwin x64
That is definitely not the version I installed, because if i do npm ls -g --depth=0
to check my global packages, I get:
├── corepack@0.19.0
├── ember-cli@5.3.0
└── npm@10.2.0
To sanity check, i ran npm uninstall -g ember-cli
and running npm ls -g --depth=0
again got
├── corepack@0.19.0
└── npm@10.2.0
So now, confirming that the global package is removed, I ran ember --version
expecting the system to say ember is not installed, but instead i still get:
ember-cli: 3.10.1
node: 18.18.2
os: darwin x64
This leads me to believe there is some other installation of Ember on this computer and it's being used instead of the global version and I'd really like to just remove it - how do I find and remove it?
Useful context may be: I use NVM
and Brew
, although even in the past I didn't attempt to install ember with anything but the official installation direction of npm install -g ember-cli
.
Aucun commentaire:
Enregistrer un commentaire