문제

I want to update my module sails from NPM.

But I can't find it, I'm not a pro Ubuntu/Linux so maybe there is a trick here.

user@tripanalyzer:~$ npm remove -g sails
npm WARN uninstall not installed in /usr/local/lib/node_modules: "sails"
user@tripanalyzer:~$ sails -v
info: v0.9.4

Where could it be if he is not here ? ^^ I probably installed it using "sudo" command. But I tried a sudo npm remove... and still the same.

Any idea?

도움이 되었습니까?

해결책

If you didn't supply the -g argument when you installed sails, the package isn't installed as a global package, and thus cannot be removed with the -g keyword. From the warning message I would say this is the case.

Where exactly the package is installed then depends on "where" in your filesystem you were when you installed it.

If you have a project which uses the sails package, then check to see if the project has any locale nodes modules folder (or similar).

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top